18
rated 0 times
[
25]
[
7]
/ answers: 1 / hits: 115823
/ 15 Years ago, mon, june 15, 2009, 12:00:00
How can you make a simple tag like <img src=a.gif>
hidden programmatically using JavaScript?
More From » html
How can you make a simple tag like <img src=a.gif>
hidden programmatically using JavaScript?
I'm not sure I understand your question. But there are two approaches to making the image invisible...
Pure HTML
<img src=a.gif style=display: none; />
Or...
HTML + Javascript
<script type=text/javascript>
document.getElementById(myImage).style.display = none;
</script>
<img id=myImage src=a.gif />