Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $$("#myform").validate({
- rules: {
- name: "required",
- email: {
- required: true,
- email: true
- }
- },
- messages: {
- name: "Please specify your name",
- email: {
- required: "We need your email address to contact you",
- email: "Your email address must be in the format of name@domain.com"
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement