【发布时间】:2010-04-19 07:29:52
【问题描述】:
我应该怎么理解
$("select option:selected")
在下面的代码中?
(取自here)
$("select").change(function() {
...
$("select option:selected").each(function () {
...
});
...
})
是所有选择的选项in all selects在文档中吗?
它是否与当前选择 $(this) 有某种关系?
【问题讨论】:
标签: jquery