Need help with jQuery selectors
Posted
by misha-moroshko
on Stack Overflow
See other posts from Stack Overflow
or by misha-moroshko
Published on 2010-04-19T07:29:52Z
Indexed on
2010/04/19
7:33 UTC
Read the original article
Hit count: 582
jQuery
How should I understand
$("select option:selected")
in the following code ?
(taken from here)
$("select").change(function() {
...
$("select option:selected").each(function () {
...
});
...
})
Is it all selected options in all selects in the document ?
Is it somehow related to the current select, $(this) ?
© Stack Overflow or respective owner