JQuery | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

JQuery

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 Resposta
0
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