Ciao a tutti, non riesco a capire qual'e' la variabile della scelta di queste combobox. Devo mandare tutto a un php.

Il codice:
codice:
 <script language="Javascript"> 
 
var arrayData = new Array(); 
 
arrayData[0]	= 'GENERALE|[Generale] Dati Generali |' 


function populateData( name ) { 
 
	select	= window.document.form.SubCategory; 
	string	= ""; 
	count	= 0; 
	select.options.length = count; 
	for( i = 0; i < arrayData.length; i++ ) { 
		string = arrayData[i].split( "|" ); 
		if( string[0] == name ) { 
			select.options[count++] = new Option( string[1] ); 
		} 
	}  
} 
 
</script>
 </head>

<body>


	<tr> 
		<form name=form method=post action="edita.php"> 
		<td><span class=DefMenuText>Pagina</span>
 
			<select name='category' style="width:120;" 
				onChange='javascript:populateData( this.options[selectedIndex].text )'> 
					<option>-- SELEZIONA --</option>
					<option>GENERALE</option> 
					 
		  </select> 
		</td> 
		<td><span class=DefMenuText>Live Data</span>
 
			<select name="SubCategory" size=3 style="width:240;"> 
			</select> 
		</td> 
		<input type=submit value="arrayData[i]">
		</form> 
	</tr> 
</table>

Grazie a tutti