Menu
Greetings!!
I have been trying this command all through the day and have not got it right..Please advice
[CODE] <div style=”float:left;”>
<script type=”text/javascript”>
document.write(“<a href=”http://www.xyz.com/submit?url=”+document.location.href+”&title=”+document.title+” “> <img border=0 src=”http://somewebsite.com/images/120x20_pi_it.gif’ alt=””> Click </a>”);
</script>
</div>
Here I am building a url dynamically using document.location.href and document.title.
The image url is static.
I keep getting a javascript error when the page loads. Please help.