I have a .NET page that has a submit button. I am using client side validation to validate the form element.
var register = $('#<%= Register.ClientId %>');
register.click(function(){
validation.init();
return false;
});
Now, the return false on top prevents the form from being submitted to the server on click. In any other language, once I do the validation, I would then call the form submit method and well, it will work. Somehow, this doesn't seem to work in .NET. I am not sure if this is because the form tag itself is wrapped around the entire page content or not.