Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // validate add client form
- $("form#addClient").validate({
- rules: {
- fname: "required",
- lname: "required",
- email: {required:true,email:true},
- lname: "required",
- username: "required",
- password: "required",
- },
- submitHandler: function(form) {
- $(form).ajaxSubmit({
- success: function(data){
- $('form#addclient').hide();
- $('div.success').fadeIn();
- }
- });
- }
- });
Add Comment
Please, Sign In to add comment