Beh non ero ancora sveglio sveglio.....

codice:
<body>
<div align="center">
    <form action="ban.php" method="post" name="ver" id="ver" onsubmit="return ctt(this)">
      


        <input name="som" type="text" id="som" size="10">
        
 
        <input name="Vai" type="submit" id="Vai" value="Vai">
      </p>
  </form>
</div>
</body>
Il pulsante deve essere di tipo submit e l'evento onclick deve essere tolto.

ooppsss ho tolto anche il target