jquery - ajaxSubmit success callback not fire in IE6 -



jquery - ajaxSubmit success callback not fire in IE6 -

i used next code submit form in jsp,it can fire in chrome ,but in ie open new window homecoming result,success callback not fire

$("#imgform").ajaxsubmit({ url : '/uc/ws/0.1/user/image/preview', datatype : 'text/plain', type : 'post', success : function(responsetext, statustext, xhr, $form) { var message = eval("(" + responsetext + ")"); if (message['success']) { showpreview(); } else { isallowpic = false;// showerrordialog('alert', '只支持最大为2m的gif、jpg、png文件', false); } }, error : function(xhr) { if(xhr.responsetext){ var message = eval("(" + xhr.responsetext + ")"); if (message['success']) { showpreview(); } else { isallowpic = false;// showerrordialog('alert', '只支持最大为2m的gif、jpg、png文件', false); } } } });

why bothering ie6 ? represents 1.56% of browsers !! http://gs.statcounter.com/#browser_version-ww-monthly-201101-201201

you should on contrary set reddish flashy signal inviting them alter browser , not encourage them maintain !

together need kill remaining ie6 !!

jquery

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -