paradox28491 Posted March 6, 2009 Share Posted March 6, 2009 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. Quote Link to comment Share on other sites More sharing options...
paradox28491 Posted March 6, 2009 Author Share Posted March 6, 2009 Nevermind, I've gotten this to work by adding an <input> tag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.