Changer la cible d'un simple script recherche
matiou34
Messages postés
198
Date d'inscription
Statut
Membre
Dernière intervention
-
more 2 rire ( ..dsl ! ) -
more 2 rire ( ..dsl ! ) -
Bonjour,
j'ai le script ci-dessous, je souhaite que la recherche s'affiche dans une frame de ma page. Comment puis-je faire ?
Merci beaucoup !
Le script :
<script language="Javascript">
function callsearch(){
searchwords=document.searchform.searchwords.value.toLowerCase();
while (searchwords.indexOf(" ")>-1)
{
pos=searchwords.indexOf(" ");
searchwords=searchwords.substring(0,pos)+"+"+
searchwords.substring(pos+1);
}
location="world/index.php?pays="+searchwords;
}
target="informations" <--------------- comme cela ??
</script>
La recherche :
<form action="javascript:callsearch();" name="searchform" method="post">
<p><input type="text" name="searchwords" size="15"> <input TYPE="button"
onclick="javascript:callsearch()" VALUE="Search"> </p>
</form>
:)
j'ai le script ci-dessous, je souhaite que la recherche s'affiche dans une frame de ma page. Comment puis-je faire ?
Merci beaucoup !
Le script :
<script language="Javascript">
function callsearch(){
searchwords=document.searchform.searchwords.value.toLowerCase();
while (searchwords.indexOf(" ")>-1)
{
pos=searchwords.indexOf(" ");
searchwords=searchwords.substring(0,pos)+"+"+
searchwords.substring(pos+1);
}
location="world/index.php?pays="+searchwords;
}
target="informations" <--------------- comme cela ??
</script>
La recherche :
<form action="javascript:callsearch();" name="searchform" method="post">
<p><input type="text" name="searchwords" size="15"> <input TYPE="button"
onclick="javascript:callsearch()" VALUE="Search"> </p>
</form>
:)
A voir également:
- Changer la cible d'un simple script recherche
- Changer dns - Guide
- Script vidéo youtube - Guide
- Recherche automatique des chaînes ne fonctionne pas - Guide
- Iphone 14 simple - Guide
- Changer carte graphique - Guide