Answers

Question and Answer:

  Home  JQuery Developer

⟩ How to select combobox select value and text using Jquery?

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);

 239 views

More Questions for you: