Bonjour,
je cherche à recuperer le texte d mon champ textarea, dans mon champs, j'ai mis un editeur d texte avec c outils, mais en faisant du javascript, je n'arrive pas à afficher le texte saisi,
Voici ma fonction javascript
function afficher(){
var fille;
var a=document.invitation.reglement.value;
fille=window.open('', '', 'height=400, width=700, status=no');
fille.document.write(a);
}
et voici mon appel Html
<a href="javascript:afficher();"><label style="font-weight:bold; color:white;">Preview</label></a>
Merci d vérifier mes codes
Configuration: Windows XP
Firefox 3.0.7