redirection vers une page web
Bonjour,
voici la fonction javascript qui permet la redirection:
Code:
1 2 3 4 5 6
| function program(rubrique)
{
var test1=rubrique;
window.location.href="?page=programmes_neufs&id_rubrique="+test1+"&T1=T1&T2=T2&T3=T3&T4=T4;";
} |
code html:
Code:
1 2 3 4 5 6 7
|
<form action="" method="get" name="formville">
<select id="ville" style="position:absolute;left: 330px; top: 360px; height:20; font-family:Arial, Helvetica, sans-serif; font-size:12px; width:140" >
<BOUCLE_communes2(RUBRIQUES){id_parent=3} {par titre}>
<option value="#ID_RUBRIQUE" onclick="program(#ID_RUBRIQUE);return false;"> #TITRE </option> </BOUCLE_communes2>
</select>
</form> |
la redirection fonctionne très bien sous firefox mais pas sous IE6,pourquoi?
avez vous une idée sur ça?
Merci de votre aide.