All pastes #230952 Raw Edit

Quelque chose

public text v1 · immutable
#230952 ·published 2006-10-31 14:52 UTC
rendered paste body
là ça marche:

<form method="post" id="formulaire" action="/base/accueil.php?menu=recherche">
	<input type="text" name="etape1" value="ok" />
	<input type="text" name="bdd" value="bdd_projets" />
	<input type="text" name="action" value="aucune" id="action" />
	<input type="text" name="sousEtape" value="0" id="sousEtape" />
	<input type="text" name="nombreDeCriteres" value="1" id="nombreDeCriteres" />
	<input type="hidden" name="modifie" value="" id="modifie" />	<input type="hidden" name="etape2" value="" id="etape2" />
	<h4>recapitulatif des critères enregistrés</h4>
<span class="lien" onClick="document.getElementById('formulaire').submit();"><img src="images/btnEditer.jpg" /></span>Critère 1: le champ <strong>membres</strong> commence par "jean outters"<input type="hidden" name="critere1A" value="membres" /><br />
<input type="hidden" name="critere1B" value="commence par" /><br />
<input type="hidden" name="critere1C" value="jean outters" /><br />
<h4>actions</h4>
	
	<input type="submit" value="valider l'étape" onClick="document.getElementById('etape2').value='ok';" />
	</form>


là ça marche plus:

<form method="post" id="formulaire" action="/base/accueil.php?menu=recherche">
	<input type="text" name="etape1" value="ok" />
	<input type="text" name="bdd" value="bdd_projets" />
	<input type="text" name="action" value="aucune" id="action" />
	<input type="text" name="sousEtape" value="0" id="sousEtape" />
	<input type="text" name="nombreDeCriteres" value="1" id="nombreDeCriteres" />
	<input type="hidden" name="modifie" value="" id="modifie" />	<input type="hidden" name="etape2" value="" id="etape2" />
	<h4>recapitulatif des critères enregistrés</h4>
<span class="lien" onClick="document.getElementById('sousEtape').value=0;document.getElementById('action').value='modifier';document.getElementById('modifie')=1;document.getElementById('formulaire').submit();"><img src="images/btnEditer.jpg" /></span>Critère 1: le champ <strong>membres</strong> commence par "jean outters"<input type="hidden" name="critere1A" value="membres" /><br />
<input type="hidden" name="critere1B" value="commence par" /><br />
<input type="hidden" name="critere1C" value="jean outters" /><br />
<h4>actions</h4>
	
	<input type="submit" value="valider l'étape" onClick="document.getElementById('etape2').value='ok';" />
	</form>