A <" name="description">

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:
Advertisements