I want to be able to append a paramter to a url used in a reference tag.
The following works as I wish:
<a href="abcu0026_u003du003cu003etextSlides.html?7">
but I want the "7" to be varialbe, similar to the "onClick" construct below which works:
<IMG src="http://lh5.ggpht.com/_BfSHtcWNuCI/SofG-e6YdPI/AAAAAAAAAPY/YFDaYVljoK0/P5120012.JPG"
width="150" height="200"
onclick="window.location='abcu0026_u003du003cu003etextThumbs.html?'+speedVa l"
alt="">
speedVal is a javascript global variable set to a value between 1 and 15.
When I try
<a href="abcu0026_u003du003cu003etextSlides.html?speedVal">
it presents the URL in the browser as
abcu0026_u003du003cu003etextSlides.html?speedVal
When I use
<a href="abcu0026_u003du003cu003etextSlides.html?"+speedVal>
It presents the URL in the browser as
abcu0026_u003du003cu003etextSlides.html?
Is there some syntax for the javascript variable that I can use?
Thanks for your help.
Andynic