ho negli head questo:
<script language="Javascript" src="events.js"></script>
dentro al mio .js ho una variabile pippo che volgio richiamare in un <td> con document.write. Come?
<script language="Javascript">
document.write('<body bgcolor="#CFCDC8" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" height="98%">');
document.write(' <tr>');
document.write(' <td align="center" valign="middle"> ');
document.write(' <table border="10" cellspacing="0" cellpadding="0" width="1">');
document.write(' <tr> ');
//document.write(pippo)
document.write(' <td rowspan="2">[img]img/1x1.gif[/img]PIPPO</td>');
document.write(' </tr>');
document.write(' </table>');
document.write(' </td>');
document.write(' </tr>');
document.write(' </table>');
document.write('
');
document.write(' </td>');
document.write(' </tr>');
document.write('</table>');
document.write('</body>');
document.write('</html>');
</script> PIPPO