mdj1
09-30-2012, 11:49 PM
Hi All,
I need a bit of help with something simple.
How can I call the URL section with a javascript?
I want to call the URL in the a href tag from elsewhere on the page.
<a href="JAVASCRIPTURL"><img src=......><a/>
The reason being is that the page is auto generated and if I add a $ sign before the line above it will only display the image if it's in the database, but I need to generate the URL elsewhere on the page, then use it if it's actually displayed and clicked on.
I hope you can understand that!??
I need a bit of help with something simple.
How can I call the URL section with a javascript?
I want to call the URL in the a href tag from elsewhere on the page.
<a href="JAVASCRIPTURL"><img src=......><a/>
The reason being is that the page is auto generated and if I add a $ sign before the line above it will only display the image if it's in the database, but I need to generate the URL elsewhere on the page, then use it if it's actually displayed and clicked on.
I hope you can understand that!??