Given a javascript object (this.activeCell) that contains the following html:
<td class="gt-col-mygrid1-ordered_cells gt-cell-actived-editable gt-cell-updated"><div class="gt-inner gt-inner-left ">156</div></td>
How can I get that 156 into a var?
Given
this.activeCellis aDOM Element, you can pass it into thejQueryconstructor and create ajQueryobject. Then, call thefindmethod passing aselectorthat retrieves your target element. Finally, calling.texton the selected element you can retrieve your text: