NateNate NateNate - 4 months ago 10
jQuery Question

How to get the value of span inside a td using Jquery?

How to get the value inside the span class using Jquery?

<td class="date-data">
<input type="text" id="start_2262016233000" class="form-control form-control-small make-small fieldEditable sampleValidation hasDatepicker" style="display:none" value="26-Jan-2015" maxlength="10" name="$FO$i_submitSample.arrSampleStartDaTe">
<span class="lblStartDt lblCurrentValue">26-Jan-2015</span>
</td>

Answer
$('.date-data span').text();

It'd be better to add a id.