ciao.
mi trovo davanti a una cosa strana. ho una funzione javascript che in base alla scelta di una select abilita o disabilita degli input.
La cosa strana avviene con mozilla. Praticamente se includo un css la funzione non cambia piu gli input, se tolgo la riga dell'inclusione css funziona tutto anche con mozilla. (con explorer va sempre ma a me serve che vada anche con mozilla.)
provate per credere , copiate e incollate questo codice. avete bisogno di 2 file, uno di nome hyperlife.css fatto cosi :


INPUT,TEXTAREA {
background : #DBE6AC;
color : #4D6619;
font-family : Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight : bold;
}


//******************************seconda pagina*******************

e uno chimato index.php fatto cosi :




<script language = "javascript" type="text/javascript">

function change()
{

var select = document.theForm.dhcp.value;


if(select=="yes")
{

document.theForm.ipAddress.disabled = true;
document.theForm.subnet.disabled = true;
document.theForm.gateway.disabled = true;
document.theForm.macAdd.disabled = true;
document.theForm.dns1.disabled = true;
document.theForm.dns2.disabled = true;
}
else
{
document.theForm.hostName.disabled = false;
document.theForm.ipAddress.disabled = false;
document.theForm.subnet.disabled = false;
document.theForm.gateway.disabled = false;
document.theForm.macAdd.disabled = false;
document.theForm.dns1.disabled = false;
document.theForm.dns2.disabled = false;



}
}

</script>

//questa e' l'inclusione che creaproblemi...togliete questa riga e vedrete che va

<link rel = "stylesheet" type = "text/css" href = "hyperlife.css">


<form action = "do_netConfig.php" method = "post" name = "theForm">
<table cellspacing="5" cellpadding="5" border = "1" align = "center" width = "380" bgcolor="#ffffff">

<tr>
<td width = "150" align = "center">[img]TMimagesAlt/net.bmp[/img]</td>
<td>Ip config</td>
</tr>
<tr>
<td>Dhcp :</td>
<td>
<select name = "dhcp" onChange = "change();">
<option value = "no">no</option>
<option value = "yes">yes</option>

</select>
</td>
</tr>

<tr>
<td>Host Name:</td>
<td><input type = "text" name = "hostName" value = "<?php echo $hostname; ?>" ></td>
</tr>
<tr>
<td>IP Address:</td>
<td><input name="ipAddress" type="text" value = "<?php echo $ipAddress; ?> " ></td>
</tr>
<tr>
<td>Subnet Mask :</td>
<td><input name="subnet" type="text" value = "<?php echo $subnet; ?> "></td>
</tr>
<tr>
<td>Gateway :</td>
<td><input name="gateway" type="text" value = "<?php echo $gateway; ?> "></td>
</tr>
<tr>
<td>Mac Address :</td>
<td><input name="macAdd" type="text" value = "<?php echo $gateway; ?> "></td>
</tr>

<tr>
<td>Dns primary :</td>
<td><input name="dns1" type="text" value = "<?php echo $gateway; ?> "></td>
</tr>
<tr>
<td>Dns secondary :</td>
<td><input name="dns2" type="text" value = "<?php echo $gateway; ?> "></td>
</tr>

<tr>
<td align = "center" colspan ="2">
<table cellspacing="5" cellpadding="5" align ="center">

<tr>
<td><input type="submit" value="OK"></td>
<td><input type="reset" value="Cancel"></td>
<td><input type="submit" value="Help"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>




N.B. esattamente dopo la funzione javascript troverete con commento l'inclusione del css. se la togliete vedrete che va....
vi prego aiutatemi....non so piu che prove fare....

ATTENZIONE : facendo continue prove (anche dopo che ho postato) ho trovato che se tolgo il background dell'input dal css. ....funziona nuovamente.... come posso risolvere questo inconveniente?