Identifying with "document" across tables

R

Richard

Purely for experimental purposes.
I just want to know why it ain't working.

You have a 4x4 table array.
In table cell 1x1 you have an image, and in table cell 4x4 you have an
image.
Click on cell 1x1 and the image in table cell 4x4 changes to another image.
I tried using onclick="document.imagename.src='newimage'" but I get an error
message.
"Object expected" or "is not an object".
The trick works fine in divisions, but not apparently across tables.
Is there a reasoning behind this or am I missing something here?
Any other methods to use?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top