获取form所有name值

   var d = {};
        var t = $('form').serializeArray();

        t.forEach(function(item, index){
            d[item.name] = item.value;
        });

        $.post("a.php",d,function(result){
            layer.alert(result,function () {
                location.reload();
            });

网站名称:获取form所有name值
文章位置:http://xwwzsj.com/article/gpsopd.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款