News:

IT Acumens - A Web Designing Company

Main Menu

hide th select box

Started by sn30, Apr 23, 2013, 05:17 PM

Previous topic - Next topic

sn30

We can use this
<!--******Javascript******-->
<script>
   document.getElementById("searchByList").hidden=false;
</script>

<!--******html********-->

<select id="searchByList" name="searchByList" class="ui-select">
<option>Select</option>
</select>

instead of
<!--******Javascript******-->
<script>
   document.getElementById("searchByList").style.visibility="hidden";
</script>

<!--******html********-->

<select id="searchByList" name="searchByList" class="ui-select">
<option>Select</option>
</select>