jsp:選擇區(qū)域負(fù)責(zé)人之后,根據(jù)其value中的userid去后臺操作數(shù)據(jù)庫查詢其手下所有的促銷主管,并回顯在super3的<select>標(biāo)簽中可供繼續(xù)選擇,用js或jquery操作ajax,前端代碼應(yīng)該怎么寫? <select name="super2" id="super2" > <option value="">區(qū)域負(fù)責(zé)人</option> <c:forEach var="item" items="${entity}"> <option value="${item.userId }">${item.realName }</option> </c:forEach> </select> <select name="super3" id="super3" > <option value="">促銷主管</option> <c:forEach var="item" items="${entity}"> <option value="${item.userId }">${item.realName }</option> </c:forEach> </select>
添加回答
舉報
0/150
提交
取消