Home >Web Front-end >JS Tutorial >Sample code for using loop drop-down menu in jquery_jquery

Sample code for using loop drop-down menu in jquery_jquery

WBOY
WBOYOriginal
2016-05-16 16:35:291068browse

This drop-down menu can be implemented using jquery in a loop, which is very practical. Friends who like it can refer to it

  <select name="paymerid" id="paymerid" style="width: 155px;"> 
  <option value="" >--请选择--</option> 
    <c:forEach var="unionconfig" items="${unionconfiglist}"> 
      <option value="${unionconfig.merid}">${unionconfig.merid}</option> 
    </c:forEach> 
  </select>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn