jQuery Validate not working in IE8 and Safari

jQuery Validate not working in IE8 and Safari

jQuery Validate works great in Firefox and Chrome, validating both client-side and sending the POST to php email function. But in IE8 and Safari it skips directly to server-side validation so that the user has to use the Back button to fill in required fields.

Here is my code:
  1. <script type="text/JavaScript"> $(document).ready(function() { $("form1").validate( { rules: { name: { required: true }, email: { required: true } } )}; }); </script>
And here is the HTML:
  1. <form class="cmxform" action="" method="post" name="WCForm" id="form1" /> 
  2. <fieldset> 
  3. <input name="name" type="text" required="required" id="name" size="25" />

When I debug in IE8 with the Developer Tools I get the error: 
"jQuery is undefined" in line 12 of the jquery.validate.js script.

What am I missing here?
Thanks in advance!
-Mike









    • Topic Participants

    • mike