1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
function FicheClient(){
var champ_id_client = $("#valeurClient").val();
$.ajax({
type: "POST",
url: "modules/client/affiche_Fiche_client.php",
data:'id_client='+champ_id_client,
success: function(retour){
$("#resultat").empty().append(retour);
}
});
}
</script>
<h2>Affichage d'un profil client :</h2>
<p> <p>
<form method="post" >
<div >
<strong >Client</strong> :
<br />
<input class="text ui-widget-content ui-corner-all" AUTOCOMPLETE="OFF" type="text" size="30" value="" id="inputString" onkeyup="lookup(this.value);" onblur="fill();" />
<input class="text ui-widget-content ui-corner-all" id ="valeurClient" name="valeurClient" type="hidden" value="" />
<input class="text ui-widget-content ui-corner-all" type="submit" value="Ok" id="validerAffichClient" name="validerAffichClient" onclick="FicheClient(); return false;"/>
</div>
<div class="suggestionsBox" id="suggestions" style="display: none;">
<img src="images/rpc/upArrow.png" style="position: relative; top: -12px; left: 30px;" alt="upArrow" />
<div class="suggestionList" id="autoSuggestionsList">
</div>
</div>
</form></p>
<div id="resultat"> </div> |
Partager