ajax方法中的参数: contentType:发送至服务器时内容的编码类型,一般默认:application/x-www-form-urlencoded(适应大多数的场合) dataType:预期服务器返回的数据类型 有时候前台ajax向后台传数据的时候,能够进到后台,但是后台显示接受的参数为null,如果ajax没有问题,这个时候就要考虑后台在接收参数的时候使用的是什么注解.(@RequestParam还是@RequestBody) public HttpResponseEntity sel
var ids= new Array(); $("input[class='detailCheck']:checked").each(function(i,k){ var itemId=$(this).attr("itemId"); ids[i]=itemId; }); $.ajax({ url : ctx + "/test/setNoProcess.do", type : "get", da