Hope I can explain this! I want ID_NUM to hold the contents of a variable, not the name of the variable. For instance:
ID_NUM=id; gives me "id" on the Review Basket page, I want it to give me 74. I need a unique id for each product and I want to build it on the fly. I have as many as 200 images in a folder. I want to build an id for each of them by using the window.location and the number of the image.
You can get a feel for what I'm trying to do by looking at the code in:
It's the area in the function ShowPix(). They've selected a thumbnail and now they are being shown the full size image. The file name of the image was passed to ShowPix so it would know what image to display. I want that image number to be shown on the Review Cart.
Have I given enough info to understand what I'm asking?