hey guys so i have these drop down menu using ul and anchor and when i click on one an image should be displayed. the problem is when i click it the image appears but then disappears right after, like a second.
html:
<ul>
<li><a href="" onclick="document.getElementById('banquetsix').style.visibility='visible';">6
Seater</a></li>
<li><a href="">8 Seater</a></li>
<li><a href="">10 Seater</a></li>
</ul>
<img id="banquetsix" class="banq" src="image/banquet6.jpg" />
.banq{visibility:hidden}