Learn how to get the value of a select option using jQuery

 

This post explains you how to get the value of the selected option from the select box using jQuery.

Its pretty simple in jQuery, Look at the below syntax:


$('#yourselectboxid :selected').val()

the above one line of code will give …