/web/organization/org/findCorgByOrgSysType.action, success : function(result){

$("#id").empty();

if( result != null && result != "" ){

for(var i=0;i

if(gotoUnit!=null&&result[i].orgId == gotoUnit){

$("#SelectId").append("

selected='selected'

value='"+result[i].orgId+"'>"+result[i].orgName+"");

}else{

$("#gotoUnit").append("

value='"+result[i].orgId+"'>"+result[i].orgName+"");

}

textareaChang();

}

}else{

$("

择...").appendTo("#gotoUnit");

}

}

});

Flex请求加载

$('.flex').flexOptions({

url : 'listComplaintQuantityReport.action',

newp : 1,

params :[

{name : 'quantityReport.summaryStartDate',value : $("#summaryStartDate").val()},

{name : 'quantityReport.summaryEndDate',value : $("#endStatisticsTime").val()},

{name : 'quantityReport.summaryType',value : $("#summaryType").find("option:selected").val()},

]

}).flexReload();

Ajax异步请求:带参数

$.ajax({

type : "POST",

async : false,

cache : false,

url : "listComplaintQuantityReports.action",

data:{"quantityReport.summaryStartDate":$("#summaryStartDate") .val(),"quantityReport.summaryEndDate":$("#endStatisticsTime").va

l(),"quantityReport.summaryType":$("#summaryType").find("option:s elected").val()},

success : function(exist){

//$("#listAmountValue").html(exist);

xmlStr = exist;

showTable();

}

});

相关主题
文本预览
相关文档 最新文档