FIreBUG 里面的信息
URL
参数
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) {
})
这个问题,是MVC3 Control 里面参数的问题。。 参数重新弄后好了。。