Ciao ragazzi, ho un problema con una chat...vado subito al sodo, allora,
<table class="str4" align="center">
<tr>
<td><form id="chat" name="chat_barra" action="chat_engine.php?id=<?php echo $id; ?>" target="chat" method="post">
<div align="center">
<input name="chat_message" maxlength='1800' type="text" class="table1" size="70">
<input type="submit" value="Invia" class="table1" name="inviato">
<input type="button" Onclick="javascriptarent.chat.location.href='chat_engine.php?id=<?php echo $id; ?>'" class="table1" value="Aggiorna">
</form>
<script language="javascript">
chat_barra.chat_message.focus()
</script>
</td>
</tr>
</table>
questo è il form della chat_message ..ma ho un problemino...praticamente quando clicco su invia non mi resetta la chat_message, cioè rimane quanto scritto in precedenza..potreste aiutarmi Gentilmente? Grazie a tutti