输入banner图图片脚本导航/分类

jquery遍历select元素(实例讲解)_jquery

本篇文章提供一款jquery遍历select教程代码,主要是利用了$("#<%=ddl_xreg_id.clientid%> option").each(function() {形式来each遍历一次,这样所有的select就给查询了一次。
代码如下: