Can't spot any issues in that snippets. Could you post a testpage? Jörn
On Wed, Jan 28, 2009 at 6:22 PM, TUNGA <mesut.tu...@gmail.com> wrote: > > 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