VVoVe:
[list=1][*]alla fine devi mettere echo ") }";[*]così stampa un output sballato, dovrebbe venire una cosa del genere[/list=1]
codice:
function test() { alert (
<script language='JavaScript'>
<!--
function winpiccola(theURL,winName,features)
{
window.open(theURL,winName,features);
}
//-->
</script>
<form action='wiev.php' method='post' width='160' target='reader' name='form' class='copy' >
<table border="0" cellpadding="1" cellspacing="0" align="center" width="147" class="copy">
<tr >
<td width="90" valign="top">
<input name="nick" type="text" size="18" maxlength="100" value="Nick" onfocus="this.value=''" class="copy">
</td></tr>
<tr>
<td width="90" valign="top">
<input name="email" type="text" size="18" maxlength="80" value="email" onfocus="this.value=''" class="copy">
</td></tr>
<tr>
<td valign="top"><input name="url" type="text" size="18" maxlength="255" value="http://" class="copy"></td>
</tr>
<tr> <td>
<input name="testo" type="text" size="18" maxlength="300" value="Commento" class="copy">
</td>
</tr>
<tr>
<td height="26" valign="top">
- <span class="copy">BBcode</span> - <input type="submit" value="GO" title="INVIA" class="copy">
</td>
</tr>
</table>
</form>
) }
nn credo ke sia molto corretto.