Ciao a tutti,avrei bisogno di una vostra consulenza...
Dovrei postare al cgi il codice xml che sono andato a comporre tramite javascript, avete qualche consiglio su come postare la stringa che compongo, cioè questa: onclick="window.alert('<WsSendSMSToNumber='+docume nt.mioform.destinatario.value+'><![CDATA['+document.mioform.testo.value+']]></WsSendSMS>');"
value="Invia" type="button" />
Vi posto il codice completo:
</script>
<link rel="stylesheet" type="text/css"
href="home.css" />
</head>
<body style="background-color: rgb(76, 76, 76);">
<center> [img]img/Sms.gif[/img] </center>
<table align="center" bgcolor="#ffffff" border="10"
cellpadding="10" cellspacing="10" height="438"
width="762">
<tbody>
<tr>
<th>
<form name="mioform" method="post"
action="http:/cgi-bin/first"> <label></label>
</p>
Destinatario <input name="destinatario"
type="text" /> </p>
<textarea name="testo" cols="50"
rows="20"
onkeydown="countAreaChars(this.form.feedback,this. form.leftChars,160);"
onkeyup="countAreaChars(this.form.testo,this.form. leftChars,160);">Inserisci
Testo </textarea> </p>
Caratteri disponibili <input name="leftChars"
readonly="readonly" size="3" maxlength="3"
value="160" type="text" /> </p>
<input
onclick="window.alert('<WsSendSMSToNumber='+docume nt.mioform.destinatario.value+'><![CDATA['+document.mioform.testo.value+']]></WsSendSMS>');"
value="Invia" type="button" /> <input
value="Cancella" type="reset" /> </p>
</p>
</form>
Grazie a tutti per l'attenzione!!!

Rispondi quotando