I have a table. the first table document has a welcome text and the last td has a hyperlink. Is there anyway I can prompt an alert with the text thats on the first td? Note: there are no IDs/class for the table td in this case. <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>welcome to my site</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><a href>Clicky</a></td> </tr> </table> Code (markup):
I agree with him. That's what I was going to suggest, was just fetching the first td in the page. Or if it's not, then find out which one it is, and change the number accordingly.