首页 > 技术文章 > html之select标签

liruixin 2017-01-05 22:43 原文

循环select标签

1                 <select name="group_id">
2                     {% for row in group_list %}
3                     <option value={{row.id}}>{{ row.caption }}</option>
4                     {% endfor %}
5                 </select>

 

推荐阅读