Applying validation using Javascript on event binding always use button rather than submit
Reason : Since while checking negative condition on validation we must restrict the form to load or submit.To stop loading of form we can't use submit button because it loads form atleast once
No comments:
Post a Comment