html select option tag closes itself due to a "/" character in the dynamic value (JSP, JSTL)
- by saky
<select id="ordersSelect" class="drop-down" onchange="somemethod()">
<c:forEach items="${orders}" var="order" varStatus="orderStatus">
<option value="${order.id}"> ${order.publicId} </option>
</c:forEach>
</select>
I have the above peice of code in a JSP page, that receives a list of Orders and each order…