Hello, How can I create a link to an image with javascript? I wanted to make something like: <img src="java script:xxx('$dtl_imagepath'$arr_picSrc)"> How can I do? Thanks
I think you can try this way: <img src="t.gif" id="img1" /> <script>img1.src=xxx('$dtl_imagepath'$arr_picSrc);</script> Code (markup): t.gif is 1x1px point image