bonjour,
j'ai le code suivant qui fonctionne
mais a la place de la variable en dur search=2 je veux metrre search=ma variable.
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3 <table width=50%><tr><td width=25%><input type=\"text\" id=\"inp1\" size=\"25\"></td> <td whith=25%><input type="button" name="B6" value="Rechercher" onclick="self.location.href='http://www.mondomaine.com/cgi-bin/log.exe?search=2'" /> </td></tr></table>
la variable est une valeur d'un champ textbox avec comme id inp1.
j'ai donc teste des dizaine de possibilites sans resultats.
ex:
Merci de votre aide.
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3 <table width=50%><tr><td width=25%><input type=\"text\" id=\"inp1\" size=\"25\"></td> <td whith=25%><input type="button" name="B6" value="Rechercher" onclick="self.location.href='http://www.mondomaine.com/cgi-bin/log.exe?search=javascript:document.getElementById('inp1').value;'" /> </td></tr></table>
Partager