| Reseller Hosting Questions about your reseller hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
60 posts
Gave thanks: 0
Thanked 0 times
|
if you can't tell ive been hitting my site hard in the last few days, just got back from vacation, in order to get all the layout and stuff how i want it. for the next thing i want to be able to have the contents of table cells change based upon a javascript command. i tried giving the table a name and the cell<td> a name and calling it by document.tablename.cellname.value="whatever" am i missing something, waht should i be doing instead? is there perhaps another way to do this?
thanks in advance surpassers :surpass: |
|
|
|
|
#2 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
60 posts
Gave thanks: 0
Thanked 0 times
|
from the webdeveloper forums i got my fix. for the curious here is the answer.
you give each cell you want to change an id as such <td id="cell1"> then you reference it as such document.getElementById('cell1').innerText='blah'" that was easier than i thoght |
|
|
|
|
#3 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in May 2003
Lives in Las Vegas, Nevada
Hosted on Dime9
632 posts
Gave thanks: 0
Thanked 0 times
|
Nothing Like Sticking your Chest in The AIR and saying, I DID THAT ON MY OWN!! is there?
Good Job ![]()
__________________
Disclamer: This is not a legal document. As with all information transfered via the internet, this message was subject to possible contamination and tampering I hold myself harmless as to its content as at appears at its intended destination. |
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in May 2003
Lives in Mountains of Colorado
Hosted on Sky & D9
102 posts
Gave thanks: 0
Thanked 0 times
|
Isn't that what the :toot: is for? "tooting your own horn"
hehehe I knew there was a use for that silly smilie!
__________________
Cat ~~~~~~~~~~~~~~~~ "Probably just chasing my tail again..." |
|
|
|
|
#5 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
60 posts
Gave thanks: 0
Thanked 0 times
|
same thing sort of, different problem this time
www.whythingssuck.com/redesigned.shtml mouse over the first button, now click on it, yeah i think you see the problem now, how do i fix it? i want that to become a link, not just place that text in the table cell. heres the function as it is now since i have it in a seperate file function click1() { document.getElementById('cell1').innerText="<a href='mission.shtml'>mission</a>" } help me please? |
|
|
|
|
#6 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in May 2003
Lives in Las Vegas, Nevada
Hosted on Dime9
632 posts
Gave thanks: 0
Thanked 0 times
|
I work on it tonight.
__________________
Disclamer: This is not a legal document. As with all information transfered via the internet, this message was subject to possible contamination and tampering I hold myself harmless as to its content as at appears at its intended destination. |
|
|