Jump to content

[SOLVED] Quick question.


paradox28491

Recommended Posts

I've been searching for this for a while now and I'm getting nowhere.

 

Basically what I want to do is add an id tag to a table element so that I can add that element to a variable using document.getElementById('').

 

So basically I have one page which contains a table and in that table there is a cell which contains some text.

 

<tr>
<td>Text I want</td>
</tr>

 

Like so. Is there something I can throw in there to give that specific part of the table an id tag so I can call it to a variable? I think I'm explaining this correctly, but if you don't get what I mean just ask.

Link to comment
https://forums.phpfreaks.com/topic/148303-solved-quick-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.