jquery - ajax post response statusCode function not invoked -


im using ajax method reason status code return server after submit ignored..

this im reciving server in response

http/1.1 200 ok content-type: text/html; charset=utf-8 content-length: 4241 

method:

function submitform() {     $.ajax({         url : jquery("#contact-form").attr("action"),         type : jquery("#contact-form").attr("method"),         data : jquery("#contact-form").serialize(),         statuscode : {             200 : (function() {                 alert("yyyyyyyyaaaaaaaaaaaaa");             }),     400 : (function() {                 alert("eeeerrrrrrrrrr");             })         }     }); } 


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -