This is my code:
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<style>
.show{
display : none;
}
</style>
<script>
window.onload = function(){
var clickElement = document.getElementById("wow");
clickElement.onclick = function(){
$(".show").css('display', 'initial');
}
}
</script>
</head>
<body>
<ul>
<li id="wow">select</li>
<li class="show">select1</li>
<li class="show">select2</li>
<li class="show">select3</li>
</ul>
</body>
</html>
when I clicked, on the select, the selection list not show up properly but instead they show up inline, why??