By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,628 Members | 1,880 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,628 IT Pros & Developers. It's quick & easy.

Hi guys

P: 1
I'm new to web programming, so if this sounds stupid, please bear with me -

I've constructed a site of six pages, each with a table holding a selection of images.

When the user clicks an image I need to record and add the image number to an array or list somewhere. My problems are . .

1/ I need to figure out how to detect which <td> is under the onmouseclick event so I can get the image number

2/ I need to remember image numbers from several pages. (I understand that javascript vars are limited in scope to a single page)

I suspected that vars in a .js file may be more "global", so tried declaring and recording to an array within one, but so far with no success. Perhaps because I'm not doing it properly.

Anyway . . any help here would be appreciated. All I can offer in return is some
expertise in Turbo pascal / Delphi, if that's any good.
Nov 27 '06 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,892
I think for what you want you will need to use a server side scripting language PHP, ASP etc...
Nov 28 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.