[jQuery] Validate plugin not working

[jQuery] Validate plugin not working


I have been trying all day to get the latest validate plugin to work
with the latest jquery. It works when I specify the keywords in the
class name, but when I try writing the code only in javascript {rules:
{}} nothing happens, no error no nothing just nothing. This is doing
my nut. The example below I made, should work according to the
docs,but it doesn't.
<html>
<head>
<title>jQuery Validation test</title>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-validate/
jquery.validate.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myForm").validate({
rules : {
required : true
}
});
});
</script>
</head>
<body>
<form id="myForm">
<input type="text" id="name" class="required" />
<input type="submit" />
</form>
</body>
</html>