get selected value of dropdown in jquery on change – How to Get the Value of Selected Option in a Select Box Using jQuery?

get selected value of dropdown in jquery on change: Use the jQuery :selected Selector. it’s easy to get selected text from a drop-down list.

get selected value of dropdown in jquery on change

You can use the jQuery :selected selector in combination with the val() method to find the selected option value in a select box or dropdown list.

$(".sel").change(function(){

    var results = $(this).val();

    alert(results);

});

it is easy to writing one line of code to change the selected value from a drop-down list.

Jquery Get Selected Dropdown Value on Change Event Example

index.html




   Jquery Get Selected Dropdown Value on Change Event Example - www.pakainfo.com
   


   

Jquery Get Selected Dropdown Value on Change Event Example

Don’t Miss : JQuery Get Dropdownlist Selected Value Onchange Event

I hope you get an idea about get selected value of dropdown in jquery on change.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment