Skip to main content
Active reading.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

use $("#selectbox option:first").val()Use:

$("#selectbox option:first").val() 

Please find the working simple in jsfiddlethis JSFiddle.

use $("#selectbox option:first").val()

Please find the working simple jsfiddle

Use:

$("#selectbox option:first").val() 

Please find the working simple in this JSFiddle.

Source Link
Chetan
  • 5.1k
  • 9
  • 52
  • 61

use $("#selectbox option:first").val()

Please find the working simple jsfiddle