I am running a simple script to grab an image name and throw it into a page every 15 seconds. The problem is that when I pass some HTML for an image tag to jQuery to have it inserted, it seems to be modifying it so that it is set to display:none. Is there any way I can fix this?
<script type="text/javascript"> function in_banner(image, id){ return('<a href="banners.php?jump=' + id + '"><img src="content/ img/banners/' + image + '">' + "</a>\n"); }; function write_updates(json){ $("#banner_zone_xa").empty(); $("#banner_zone_xa").append(in_banner('clam.gif', '2')); }; </script>