jQuery Simple Example

by claykaboom

HTML

<script src="//www.addressfinder.co.nz/assets/v2/widget.js"></script>
<table>

<tr id="the_row">
    <td>
       <div>Some text <span class = 'my_class'></span></div>
    </td>
</tr>
</table>

JavaScript

$(function() {
	var $row =  $('#the_row');//.find(".my_class").html("<td>null</td>");
  $row.find('td').find('div').find('.my_class').text('text'); // works
 	$row.find('.my_class').html('Span'); // works as well
});