HTML:
<span style="display:inline-block;width:250px;">
<div class="radio" id="uniform-rdo">
<span>
<input id="rdo" type="radio" name="lossDes" value="rdo" onclick="LossDes();" style="opacity:0; ">
</span>
</div>
<label for="rdo">Insured drove into water.</label>
</span>
jQuery:
var lossOptionsVal = $('input[name=lossDes]:checked').next('label').text();
Here now i want to get the text within label tag on check of radiobutton
Try
here as per you html label element is next to div element so you need to go two level up i.e. require to move to parent of parent which is div so the script is…………..