JQUERY可通过value值,设定指定value的option为选中项
$("#SelectId").attr("value", "theValueYouWantToSetIndex")
另:jQuery.trim( str )方法,可以去掉字符串前后的空格
复制代码 代码如下:
$("#SelectId").attr("value", "theValueYouWantToSetIndex")
另:jQuery.trim( str )方法,可以去掉字符串前后的空格

jquery实现的网页自动播放声音02-27



无序列表排序之方法05-10


jQuery的选择器中的通配符使用介绍02-06
网友评论文明上网理性发言已有0人参与
发表评论: