I am new to jQuery. I have a servlet based application that displays an HTML form. This form is submitted via a function, and the Submit button does NOT send the button in HTML. This is a regular button that calls the javascript function to send.
When the send function is started, the servlet also runs a function called doCheck (), which is located in javascript. This doCheck () function can be defined on every page. if doCheck returns false, then the servlet will stop serving; otherwise he will send the form.
I want to use jQuery validation according to the servlet application. Is there a way to configure jQuery to run manually (i.e. only when doCheck () is executed), but at the same time provides continuous user interface checking (that is, if one type of an invalid number is in the date field, this will give the corresponding msg when onblur event occurs)? Is there a way to make jQuery validation true or false? Thank.
source
share