0

after user make some selection, I want to remove the highlight on the items of the list. I have two usages of select tag and both still have highlighted after click on certain item or items of the list.

Problem is when user select on particular item, there will be pop up box. If the user just close the pop up and select on that same item, the pop up won't show. If the user put some input to pop up box, the selection of item will be disappear though.

How can I achieve to remove the highlight on the items of the select tag list?

1)

<select name="top" onchange="showMeasurement(this.options[this.selectedIndex].value,'m');" multiple class="selection-big">
<c:forEach var="f" varStatus="i" items="${fItemList}">
<option value="<c:out value="${f.fItemId}"/>~<c:out value="${f.fCategoryId}"/>~<c:out value="${f.fName}"/>~<c:out value="${f.fPName}"/>" ><c:out value="${f.fName}"/></option>
</c:forEach>
</select>

2)

<s:select id="bList" name="bIds" list="bList" listKey="key" listValue="value" multiple="true" cssClass="selection-big-short" theme="simple" 
    onchange="changeVal(this.options[this.selectedIndex].value,'m');"/>
4

0 回答 0