Je rencontre le problème suivant:
Code : Tout sélectionner
<script type="text/javascript">
document.getElementById("entreprise_num").disabled=true;
</script>Une idée pourquoi ?
Code : Tout sélectionner
<script type="text/javascript">
document.getElementById("entreprise_num").disabled=true;
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function disableText(){
document.getElementById("entreprise_num").disabled=true;
}
</script>
</head>
<body onLoad=" disableText();">
<select name="entreprise_num" id="entreprise_num" class="petitcontactbleu" style="width:400px;" >
<option value="-0">Choisissez...</option>
</select>
</body>