I want to get text between html tags instead of tags value.
there is a tag
<input id="item" type="checkbox" name="vehicle" value="bike" >I have a bike <br>
I have a bike
Try this - to get the currently selected value:
var optionText = $('select :selected').val();
To get the currently selected text:
var optionText = $('select :selected').text();