salve,
ho un due menu select che ottengono le opzioni da mysql ed il secondo è il risultante della selezione del primo.
lo script funziona perfettamente su firefox e chrome ma su explorer mi da problemi:
codice:
<?php
echo "
function fillCategory(){
// this function is used to fill the category list on load
";
$q1=mysql_query("select * from categorie");
echo mysql_error();
while($nt1=mysql_fetch_array($q1)){
echo "addOption(document.drop_list.Category, '$nt1[id]', '$nt1[nome]');";
}// end of while
?>
mi dice che document.drop_list.Category è nullo o non è un oggetto... come posso risolvere??