状态改变的jq写法
$(document).ready(function() {
//Ajax写这里
$("#selModules").change(function() {
var checkObj=$(this).val();
//alert($(this).val());
$.post(
"selectNotesType.do",
{"ids" : checkObj},
function(data) {
// 提示信息
//alert(data);
location.href = "findAll.do?type=" + data;
});
});
});