I am sure I am missing something somewhere, but I can't see where. I am trying to use the jQuery validate script but get this error continually. I am pretty sure all the files are in the right place etc. This is in the head:
<script src="scripts/jquery.min.js"></script>
<script src="scripts/jquery.validate.min.js"></script>
<script>
$(document).ready(function() {
$('#form1').validate();
}); // end ready
</script>
then my form is as follows:
<p>
<label for="name">Your name:
</label><br />
<input name="name" type="text" class="required" title="Please enter your name." id="name" maxlength="80" />
</p>
<p>
<label for="email">Your email address:</label><br /><input name="email" type="text" class="required email" title="Please enter a valid email address." id="email" maxlength="100" />
</p>
<p>
<label for="phone">Your contact number:</label><br />
<input name="phone" type="text" class="required" title="Please enter your phone number" id="phone" maxlength="50" />
</p>
<p>
<label for="message">Message:<br />
</label>
<textarea name="message" id="message" cols="50" rows="5"></textarea>
</p>
<p>
<input name="Submit" type="submit" class="form" id="Submit" value="Submit" style="width:100px" />
</p>
</form>
Thanks for any help!
alert($("#form1").serialize())
?