日期:2014-05-17  浏览次数:20558 次

Jquery的 ajax方法 一直提交不到后台去 救急。高了一天了。
  var postdata = {
            "userrealname": $("#userrealname").val(),
            "usersex": $("input[name='usersex']").val(),
            "usercards": $("#usercards").val(),
            "province": $("select[name='province']").val(),
            "city": $("select[name='city']").val(),
            "district": $("select[name='district']").val(),
            "detailaddress": $("#detailaddress").val(),
            "usertel": $("#usertel").val(),
            "salesmodel": $("input[name='salesmodel']").val(),
            "shophttp": $("#shophttp").val(),
            "userpostcode": $("#userpostcode").val(),
            "userinstancy": $("#userinstancy").val(),
            "userhometel": $("#userhometel").val(),
            "userfax": $("#userfax").val(),
            "useremail": $("#useremail").val(),
            "userqq": $("#userqq").val(),
            "userbank": $("#userbank").val(),
            "accountbank": $("#accountbank").val(),
            "bankname": $("#bankname").val(),
            "toprovider": $("#toprovider").val(),
            "shopname": $("#shopname").val(),
            "shopcountry": $("select[name='shopcountry']").val(),
            "shopprovince": $("select[name='shopprovince']").val(),
            "shopcity": $("select[name='shopcity']").val(),
            "shopdistrict": $("select[name='shopdistrict']").val(),
            "shopaddr": $("#shopaddr").val(),
            "usershoptel": $("#usershoptel").val(),
            "shop_area": $("input[name='shop_area']").val(),
            "checks[]": $("input[name='checks[]']").val(),
            "userpassword": $("#userpassword").val(),
            "date": new Date().getTime()
        };