how to validate using jquery code example Example: jquery validate $("#myform").validate({ debug: true });