Hello, I use validation code someting below. It works if I load that page directly. But loading it from another page using $("#myApplDiv").load ('that_page.php') the rules sections does not work. But submitHandler section works well.
<script> $().ready(function() { // some codes here var validator = $("#myForm").bind("invalid-form.validate", function () { $("#summary").html("Error"); }).validate({ submitHandler: function() { // some codes here }, rules: { fieldName { required: { depends: "#anotherFieldName:checked" } } } }); }); </script> Any suggestions? Thanks Mesut TUNGA