Click here to Skip to main content
15,792,870 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have clickable banner image, so i want to hide this banner behind of text, only text will be visible and banner should be hidden behind of text.. i need javascript to hide my banner image.

try this,

function hideImage() {
    document.getElementById('img1').style.display = 'none';

helping link:[^]
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900