Così però mi dà problemi con ie, mentre su FF va alla grande..

Penso di aver risolto egregiamente così:

codice:
if(document.getElementById("select_xp").selectedIndex == -1){
      alert( "Devi indicare almeno..." );
      document.getElementById("select_xp").focus();
      return false;
    }
OT:
Ma nn c'è più il bottone "CODE"? C'è solo "PHP" ora?