jessewth's blog
2008/10/13
jquery: 取出指定form內的所有select物件
在myform裡取出所有select name 開頭是'att'的值:
$(
"form[name='myform'] select[name^='att']"
).each(function(){
alert($(
this
).val());
});
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言