$ ( "#myselect" ).val (); The second is the text value of the select. In formula , go to Named Control in your right panel and double click your dropdown which will be listed in the Named Controls list. Then open Control Setting > Formula. With jQuery, it’s easy to get selected text from a drop-down list with :selected. Suppose, you have a select element and you need to select one of its options based on one of its values. If no option selected … How can I round down a number in JavaScript. This jquery attr() method example will demostrate you how get data attribute values like data-id, data-text or any other data attribute using jquery attr() attribute method from selected … How to select a drop-down menu option value with Selenium (Python)? How to get a Google API Key for using Maps? In my previous tutorial on the related topic, I have discussed on How to Get Form Input Field Value In jQuery. Then you can use javascript/jquery to compare whether the current dropdown value different with the hidden value [previous dropdown value]. Below is the html code for my dropdown Used Function: Hide all the fields, and then show the selected field. Topic: JavaScript / jQuery Prev|Next. We also get your email address to automatically create an account for you in our website. The first one is the value to be sent to the server, which can easily get using the jQuery. Inside the jQuery OnClick event handler, the HTML Select DropDownList object is referenced and then the selected Text and Value is determined and displayed using JavaScript alert message box. To achieve this feat you can use various methods, two of those methods will be explained below. As there could be multiple drop down lists in the same form, first we need to select the drop down list uniquely and get the value using the val function of jQuery. Select Fruit: