I am trying to use jquery validator plugin and submit form via ajax in jquery .....
Validator plugin works with <input type="submit" value="Add a client" id="clientadd"/>, but my submit form works with <input type="button" value="Add a client" id="clientadd"/>.....
<form id="addform" autocomplete="off">
//My controls here
</form>
I did not specify the attributes here actionand methodsince I will submit my form using jquery.ajax().... Any suggestion on how to make both work together.
source
share