第二个下拉框的内容根据第一个选择的不同而不同。
前台代码:
<s:select name="SortListValue" id="assessSortListValue" list="assessSortList" listKey="pointsID" listValue="pointsName" theme="simple" headerValue="--请选择--" headerKey="0" onchange="ajaxpostlicense(this)"></s:select> <select name="SortListInfoValue" style="width: 100px;" id="SortInfoList" onchange="ajaxpostlicenseinfos(this)"></select><