Problem using JQuery Validate with Chrom
Hi,
I have a form that uses validate to confirm a checked checkbox before submitting.
this works on IE and FF but not on Chrome.
Other JQuerys are used on the page.
Any idea why?
<script type="text/javascript">
$.validator.setDefaults({
submitHandler: function() { $(form).submit(); }
});
$().ready(function() {
// validate signup form on keyup and submit
$("#form-1").validate({
rules: {
agree: "required"
},
messages: {
agree: "עליך לקבל את התנאים"
}
});
});