Wie überprüft man, ob eine Option ausgewählt ist?

$('#mySelectBox option').each(function() {
    if ($(this).isChecked())
       alert('this option is selected');
     else
       alert('this is not');
});

Offenbar, die isChecked funktioniert nicht. ALSO meine Frage ist, was ist der richtige Weg, dies zu tun?
Danke.

InformationsquelleAutor der Frage 0x56794E | 2012-04-18

Schreibe einen Kommentar