get selected option value - Jquery

get selected value

Snippet Code


  
Rate this page :
  [ 0 votes]

to get selected option value, use the following snippet

var getSelected = $('#selectBoxID :selected').text();

Tags


Ask Questions

Ask Question