JQuery | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren


How to get a specific one option from drop down lists, if I get specific one option to apply conditions whether the user can select tat option ill disabled tat one.. if any one knows kindly update ur answers. Thank you

22nd Apr 2018, 10:07 AM
M┼Ĺh├ą┼ł ─Â┼▒m├Ž┼Ö
M┼Ĺh├ą┼ł ─Â┼▒m├Ž┼Ö - avatar
1 Antwort
this will get you all options in a select tag $("#selectId > option").each(function() { alert(this.text + ' ' + this.value); });
22nd Apr 2018, 11:40 AM
Pavan Kumar T S
Pavan Kumar T S - avatar