NateNate NateNate - 1 year ago 52
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>

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

It'd be better to add a id.