For browsers that do not support HTML5 pop up validation using jQuery.