I'm using the validity plugin to validate a form. It's working fine but is it possible to execute a callback function if the validity function succeeded like the following
$("form").validity(function(){
$("#place").require().range(3, 50);
$("#location").require().greaterThan(4)
}, function(){ /* Here to put the call back code */ });
because i want to to run some code if the form validation successes , Any idea would be appreciated