I have a project that is already using jQuery, so I'd like to stay in theme.
How can I reference the following selector and obtain the contents? I've highlighted the fields text I'm after, below.
Chrome reports the selector as:
#gv-field-10-43 > td
I have tried variations on the following, but both result in the variable returning empty or undefined:
jobNo = jQuery("#gv-field-10-id > td").text();
jobNo = jQuery("#gv-field-10-id > td").html();
<table class="example">
<thead>
</thead>
<tbody>
<tr id="gv-field-10-id" class="gv-field-10-id">
<th scope="row">
<span class="gv-field-label">Entry ID</span>
</th>
<td>
5602 <-- This is the text I'm trying to find
</td>
</tr>
</tbody>
</table>