Código HTML:
<select name="SE1"> <option value="1" selected class="select"></option> <option value="2"></option> <option value="3"></option> <option value="4"></option> <option value="5"></option> </select> <script> var select = document.getElementById('SE1'); var items = select.getElementsByTagName('option'); var index= Math.floor(Math.random() * items.length); select.selectedIndex = index; </script>
Gracias de antemano