I have this weird problem. I have a dynamic form, the id's are dynamic.
To submit the data I use a anchor link instead of a submit button. <form id="f1"> ... <a onclick="updateCompanyDetails(id);" id="updateCompanyDetails_1>"><span>Update Address</span></a> </form> <script> function updateCompanyDetails(id) { $("#f"+id).validate({ submitHandler: function(form) { form.submit(); } }); } </script> This doesn't seem to work. Where am I going wrong? Sid