Código HTML:
<html> <script> window.onload=function() { document.getElementById('selectelement1').onchange=function() { document.getElementById('selectform1').submit(); } } window.onload=function() { document.getElementById('selectelement2').onchange=function() { document.getElementById('selectform1').submit(); } } </script> <body> <form name="selectform1" id="selectform1"> <select name="selectelement1" id="selectelement1" size="3"> <option value="1" >Option 1</option> <option value="2" >Option 2</option> <option value="3" >Option 3</option> <option value="4" >Option 4</option> </select> <br> <select name="selectelement2" id="selectelement2" size="3"> <option value="1" >Option 1</option> <option value="2" >Option 2</option> <option value="3" >Option 3</option> <option value="4" >Option 4</option> </select> </form> </body> </html>
Salu2