Salve a tutto
come da titolo, ho questo problema, devo caricare in una select dei valori provenienti da una selezione di rige, quindi vorrei fare due javascript uno che carichi i dati in quella lista e li visualizzi (anche con un refresh se non è possibile direttamente) e uno che quando premo il pulsante mi passi quelli selezionati nella selact.
questa è la pagina tipo che ho pensato:
codice:
 
 <html>
<head>
<title>Untitled Document</title>

</head>

<body>
<form name="form1" method="post" action="">
  <table width="46%" border="0">
    <tr> 
      <td width="44%">  <table width="100%" border="0">
          <tr> 
            <td><input type="checkbox" name="checkbox" value="checkbox"></td>
            <td>testo1</td>
          </tr>
          <tr> 
            <td><input type="checkbox" name="checkbox2" value="checkbox"></td>
            <td>testo2</td>
          </tr>
          <tr> 
            <td><input type="checkbox" name="checkbox3" value="checkbox"></td>
            <td>testo2</td>
          </tr>
        </table></td>
      <td colspan="2" rowspan="2"></td>
    </tr>
    <tr> 
      <td><input type="text" name="textfield"></td>
    </tr>
  <tr> 
      <td><input type="submit" name="Submit" value="carica in lista"></td>
      <td><input type="submit" name="Submit2" value="Passa i dati alla select"></td>
      <td></td>
    </tr>
  </table>
 </form>



</p>
<form name="form2" method="post" action="">
  <table width="100%" border="0">
    <tr> 
      <td><select name="select" id="select">
        </select></td>
    </tr>
    <tr> 
      <td></td>
    </tr>
  </table>
</form>


</p>
</body>
</html>
per favore aiutatemi

Grazie 1000