I have these HTML tags and I need to get the text from the TDs. I already have and can use the ID of li and the div id (li and div (nested in li) IDs are the same).
How to get all the TD text only from one table. The input for template 1 for example should be:
Video, Image
My HTML
<div id="slideHolder">
<ul id="mainList">
<li templateid="1">
<div id="1">
<table >
<tr>
<td>Video</td>
<td>Image</td>
</tr>
</table>
</div>
</li>
<li templateid="2">
<div id="2" >
<table>
<tr>
<td >Text</td>
<td >Image</td>
</tr>
</table>
</div>
</li>
</ul>
</div>
`
– Spokey Jul 31 '14 at 11:04