how to get the value of a label field of option tag in javascript?

how to get the value of a label field of option tag in javascript?

example

<select>
         <option label="2" value="A">A</option>
         <option label="5" value="B">B</option>
      </select>

<select>
         <option label="6" value="C">C</option>
         <option label="4" value="F">F</option>
      </select>

can i get the label value in javascript?

View Answers









Related Tutorials/Questions & Answers:
how to get the value of a label field of option tag in javascript?
how to get the anchor field in hidden field tag
Advertisements
How to add another option to the select tag using struts2 tag - Struts
how to display the value of termcell name in label
how to display textbox value based on selected option value?
how to get UIView by tag
how to get radio value
how to get the next option - Java Beginners
Struts2.2.1 label Tag Example
How to write javascripts - JSP-Servlet
The option tag
How to write javascripts - JSP-Servlet
select option value
select option value
Label Tag (Form Tag) Example
how to get the checkbox value in jsp
How to get enum value in Java
ModuleNotFoundError: No module named 'django-label-tag-attr'
ModuleNotFoundError: No module named 'django-label-tag-attr'
Option onclick am not getting the value ..
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
Option Box Value - Java Beginners
How do I get a job in AI field?
how to get time picker value in javascript of struts2
How to save and get value from JSP
How to add radio button value in a table for particular field?
how to display data from database according to entered value in search field
how to get HTTP GET request value using javascript
How to collect Java input field value display into Jtable?
File Upload in struts2 - Invalid field value for field
how to get combo box value - JSP-Servlet
How to get the correct value by calculating double values....
Javascripts events
How to get the correct value by calculating double values....
How to get more than one value from ajax
get textfield value in javascript
I need jsp code for how to write text field value into property file.
Inserting a value to an Enum field in Table
how to make a label left alignment?
How to get the value of <html:image></html:image> - Struts
How to get Scrollbar value of textarea in html? - Design concepts & design patterns
How many ways can we get the value of current session id?
Label
If Sessin Contain Array how can i get each value.
how to move label in jframe in java?
how to use JOptionPane.YES_NO_OPTION
Get session value in javascript
you get a password field in struts
Assigning value to anchor <a></a> tag using custom tag

Ads