首页 新闻 会员 周边 捐助

JQUERY POST 无法理解的BUG ,是多么孤独啊, 求解。

0
悬赏园豆:20 [已关闭问题] 关闭于 2013-01-29 19:09

FIreBUG 里面的信息 

URL

http://URL/FollowSettingQ?COID=10009&VF1000948=H264_480x272&M1000948=6&VF1000947=H264_480x320&M1000947=6&VF1000946=H264_480x320&M1000946=6&VF1000945=H264_640x480&M1000945=6&COID=10008&VF1000844=H264_480x272&M1000844=6&VF1000843=H264_480x272&M1000843=6&VF1000842=H264_480x320&M1000842=6&VF1000841=H264_480x320&M1000841=6&TestPersonID=7&StartTime=2013-01-16&EndTime=2013-01-26

参数

COID 10009
COID 10008
EndTime 2013-01-26
M1000841 6
M1000842 6
M1000843 6
M1000844 6
M1000945 6
M1000946 6
M1000947 6
M1000948 6
StartTime 2013-01-16
TestPersonID 7
VF1000841 H264_480x320
VF1000842 H264_480x320
VF1000843 H264_480x272
VF1000844 H264_480x272
VF1000945 H264_640x480
VF1000946 H264_480x320
VF1000947 H264_480x320
VF1000948 H264_480x272''

ERROR 信息

值不能为 null。<br>参数名: value

测试代码

$.post("http://URL/FollowSettingQ?COID=10009&VF1000948=H264_480x272&M1000948=6&VF1000947=H264_480x320&M1000947=6&VF1000946=H264_480x320&M1000946=6&VF1000945=H264_640x480&M1000945=6&COID=10008&VF1000844=H264_480x272&M1000844=6&VF1000843=H264_480x272&M1000843=6&VF1000842=H264_480x320&M1000842=6&VF1000841=H264_480x320&M1000841=6&TestPersonID=7&StartTime=2013-01-16&EndTime=2013-01-26", function (data) {

})

 

 

实际使用中代码

var serializeForm = $(".ChooseIDs:checked, #TestPersonID, #StartTime, #EndTime");
$(".ChooseIDs:checked").each(function () {
var result = $(this);
serializeForm = serializeForm.add($("." + result.val() + "_OrderDetail select"));
})

console.log(serializeForm.serialize());

$.post("/URL/FollowSettingQ",
serializeForm.serialize()
, function (data) {

})



wylfocus的主页 wylfocus | 菜鸟二级 | 园豆:223
提问于:2013-01-29 18:45
< >
分享
所有回答(1)
0

这个问题,是MVC3 Control  里面参数的问题。。      参数重新弄后好了。。

wylfocus | 园豆:223 (菜鸟二级) | 2013-01-29 19:09
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册