How to get value of selected dropdownlist.
Ex.
" Text="---Select---" Value="0">"
I need value "0".
Thanks,
To get value:
$('#YourdropDownId').val();
To get text:
$('#YourdropDownId :selected').text();
Try
$('[name="YourdropDownName"] option:selected').val();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With