Home » Java » javascript – How to have check box for datalist tag in jsp page-Exceptionshub

javascript – How to have check box for datalist tag in jsp page-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

The following is my code for datalist,

<datalist id="actualqmsyslist">
  <c:forEach items="${listaqsys}" var="c">                      
    <option value="${c.desc}" data-id="${c.code}"> ${c.desc} </option>                   
  </c:forEach>   
</datalist>

I would also like to have multi select/check box with that, how can I do it?

How to&Answers: