Dear Experts,
I am Stuck in my Asp.net project,
I am Using JQuery Validation in my project.. And i have Include some Javascript files and also a small piece of javascript code in my Index.aspx page.. Here is the below Code....
$('form').validationEngine();
And When i click the submit button it validates the fields.
One of the Javascript file contains a function to validate. And it returns a boolean, if the form get error then it returns False else True.....
I just put an alert in that function and i successfully got the return boolean.
Here is the Below Code.. (This code is in "jquery.validationEngine.js" file)
_onSubmitEvent: function () {
var form = $(this);
var options = form.data('jqv');
options.eventTrigger = "submit";
var r=methods._validateFields(form);
if (r && options.ajaxFormValidation) {
methods._validateFormWithAjax(form, options);
return false;
}
if(options.onValidationComplete) {
return !!options.onValidationComplete(form, r);
}
return r;
},
I need to get this return boolean in my Index.aspx page.....
Is there any Javascript code to get the return value....
Please help me..
Thanks and Regards,
Dileep.....