SelectBoxIt by Greg Franko Plugin is used within this code….(Example at the bottom > here)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<script type='text/javascript'>//<![CDATA[ $(window).load(function(){ // var selectBox = $("select#test").selectBoxIt().data("selectBoxIt"); $("#test").selectBoxIt({ "showFirstOption": false // Hides the currently selected option from appearing when the drop down is opened }); });//]]> </script> |
Other ways without a plugin is here….
Hide element with dropdown
Show hide form depending on value of dropdown