I have a view with exposed filters and Ajax activated. I would like to validate my exposed filters values before my view is updated by the submit button. The following code works without Ajax, but when I activate this functionalitty it doesn’t validate!
jQuery('FORM ID').submit(function () { jQuery('FILTER TEXTFIELD').val(MY VALIDATION); return true; });
How can i capture the ajax execution and validate my values BEFORE the ajax call?