I got 2 files.
the first is Prov.html with this command
<select id="provincie">
<option id="ve">Veneto</option>
<option id="lo">Lombardia</option>
</select>
<script type="text/javascript">
$.get( "pv.html" ,function(data){
});
</script>
the second is Pv.html with these 2 arrays
<script type="text/javascript">
var ven=new Array("Belluno","Venezia","Treviso");
var lom=new Array("Milano","Brescia","Pavia");
</script>
i have done these.
If i select Veneto from the selectbox in the first file i have to put all the elements of the array ven into another select box always in the file one
If i select Lombardia from the selectbox in the first file i have to put all the elements of the array lom into another select box always in the file one
but i dont know the sintax for link the things

my teacher will be happy if i can do this alone
This post was edited by nonNo on Jan 13 2014 02:46pm