没有合适的资源?快使用搜索试试~ 我知道了~
分页语句。最主要的补分。JS代码就不发了。这些够了。很容易懂
资源推荐
资源详情
资源评论
$(function(){
$("#firstKindId").change(function(){
$("#secondKindId option:gt(0)").remove();
$("#thirdKindId option:gt(0)").remove();
if ($("#firstKindId").val()==-1) {
return;
}
$.post(
"<%=request.getContextPath() %>/transfer!selconfigfilekindsecond?time="+Math.random(),
{"firstKindId":$("#firstKindId").val()},
function(data){
for ( var i = 0; i < data.length; i++) {
var sid=data[i].secondKindId;
var sname=data[i].secondKindName;
$("<option value='"+sid+"'>"+sname+"</option>").appendTo($("#secondKindId"));
}
}
"json"
);
});
})
$(function(){
$("#secondKindId").change(function(){
$("#thirdKindId option:gt(0)").remove();
if($("#secondKindId").val()==-1){
return;
}
$.getJSON(
"<%=request.getContextPath() %>/transfer!selconfigfilekindsecond?time="+Math.random(),
{"secondKindId":$("#secondKindId").val()},
$("#firstKindId").change(function(){
$("#secondKindId option:gt(0)").remove();
$("#thirdKindId option:gt(0)").remove();
if ($("#firstKindId").val()==-1) {
return;
}
$.post(
"<%=request.getContextPath() %>/transfer!selconfigfilekindsecond?time="+Math.random(),
{"firstKindId":$("#firstKindId").val()},
function(data){
for ( var i = 0; i < data.length; i++) {
var sid=data[i].secondKindId;
var sname=data[i].secondKindName;
$("<option value='"+sid+"'>"+sname+"</option>").appendTo($("#secondKindId"));
}
}
"json"
);
});
})
$(function(){
$("#secondKindId").change(function(){
$("#thirdKindId option:gt(0)").remove();
if($("#secondKindId").val()==-1){
return;
}
$.getJSON(
"<%=request.getContextPath() %>/transfer!selconfigfilekindsecond?time="+Math.random(),
{"secondKindId":$("#secondKindId").val()},
资源评论
资深屌丝正在逆袭
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功