I have a page that loads different information based on the id found in the address bar. Using that, I wanted to add an image based on the id. Here it is below
document.write('<img src="image/greybox.png" class="greybox1">');
The local page I'm viewing is 8089/local-release/design.php?id=HelmetStickers
When I open the page with this code, it just keeps refreshing every half second. What am I missing? I just want to add an image based on the ID.