Sorry I couldn't wait for my other post to showup, so I made a typo:

<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(){
    $("#poesForm").validate({
        rules : {
            name: {
                   required : true
           }
        }
    });
});

</script>
</head>
<body>
<form id="poesForm">
    <input type="text" id="name" class="required" />
    <input type="submit" />
</form>
</body>
</html>

Reply via email to