Javascript object/variable question
- ListenToMyMusic
-
ListenToMyMusic
- Member since: Aug. 12, 2006
- Offline.
-
- Forum Stats
- Member
- Level 08
- Programmer
I've tried everything and I can't seem to get this to work, here is the code
function main(x,y)
{
xYLocal=x+y;
xYLocal.innerHTML = "test";
}
<table
<td<a onClick=main(1,1) name=11</a<td<a onClick=main(1,2) name=12><td><a onClick=main(1,3) name=13</td
<tr><td><a onClick=main(2,1) name=21</a<td<a onClick=main(2,2) name=12><td><a onClick=main(2,3) name=23</td
etc.
I made a table that is 30 cells wide and tall and whenever you click on any of the cells, I want to innerHTML of the anchors to change. How would I do this?, I know that there are no >'s that is to get past the html error
come support us at the newgrounds.com irc chat room! - just type your nick, and your in!

