日期:2014-05-16 浏览次数:20355 次
<select id="CUSTOMER_DISSATISFACTION" name="CUSTOMER_DISSATISFACTION" multiple="multiple">
<c:forEach items="${SatisfiedPoint}" var="mode">
<option value="${mode.BASIS_VALUE}">${mode.BASIS_VALUE}</option> </c:forEach>
</select>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(function(){
$("#abv").click(function(){
$("option:selected").each(function(){
alert($(this).text());
});
});
})
</script>
<input type="button" id="abv" value="测试用按钮"/>
<select id="CUSTOMER_DISSATISFACTION" name="CUSTOMER_DISSATISFACTION" multiple="multiple">
<option value="${mode.BASIS_VALUE}">${mode.BASIS_VALUE}</option>
<option value="${mode.BASIS_VALUE}">${mode}</option>
<option value="${mode.BASIS_VALUE}">${BASIS_VALUE}</option>
</select>