Web Development jQuery Subjective
Aug 07, 2013

How to select combobox selecte value and text using Jquery?

Detailed Explanation

Example:
var StateID = $("#StateCbx").val(); // Or you can use it $("#iStateID").val();
var StateName = $("#StateCbx option:selected").text();
alert("Selected combobox text is= " + StateName + " and value is= " + StateID);

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback