jquery - ajaxForm is not working ie 10 -
am using ajax form plugin. link http://www.malsup.com/jquery/form/#api plugin..
jquery('#update-personal-information-form').ajaxform( { beforesubmit: function() { jquery('#update-personal-information-form').validate({ errorclass: "error", errorelement: "div", rules:{ first_name:{required:true}, last_name:{required:true}, email:{required: true, email:true}, dob:{required: true,dateiso: true} }, messages:{ first_name:{required:" first name:cannot blank"}, last_name:{required:" last name:cannot blank"}, email:{required:" email:cannot blank"}, dob:{required:" date of birth:cannot blank",dateiso: "invalid date. must formatted yyyy-mm-dd"} } }); return jquery('#update-personal-information-form').valid(); }, success: function() { var url1 = './index.php?r=user/personal_information'; jquery("#dialog_edit_personalinfo").remove(); jquery("#body1").load(url1); } });
this working in browsers fine, in i.e 10 working form submit , page refreshing. searching last 4 hours, no results found, please me in this. thank you..
Comments
Post a Comment