hey guys i have this at the moment that is in my textarea
Code:
    <textarea class="inputshout"  id="message" name="message" rows="7" type="text" cols="100"
 maxlength="<?php $messagelength;?>"
onfocus="this.value = ( this.value == this.defaultValue ) ? '' : this.value;this.style.color='#000';return true;">
Enter message here ... </textarea>
but when i hit submit the data is sent to an iframe like so
Code:
<table width="200">
  <tr>
      <td><form id="post" action="shoutbox/post.php" target="tagboard" method="post" name="post">
<input type=hidden name=username value=<?php echo $user1; ?>>

<table width="200">
  <tr>
    <td align="center"><iframe src="shoutbox/tagboard.php?username=<?echo $user1?>" width="500" height="300" frameborder="0" scrolling="auto" name="tagboard"></iframe>  </td>
    </tr>
  <tr>
    <td><div align="center">
    <textarea class="inputshout"  id="message" name="message" rows="7" type="text" cols="100"
 maxlength="<?php $messagelength;?>"
onfocus="this.value = ( this.value == this.defaultValue ) ? '' : this.value;this.style.color='#000';return true;">
Enter message here ... </textarea>
    </div></td>
    </tr>
  <tr>
    <td align="center"><div align="center">
      <input name="submit" type="submit" class="submit-shout" value="" />
    </div></td>
    </tr>
  <tr>
    <td><div align="center"><BR>
      [ <a href="shoutbox/emoticons.php" onclick="NewWindow(this.href,'register','500','900','no','center');return false;" onfocus="this.blur()">Emotion Help</a> ]   </div></td>
    </tr>
</table>
</FORM></td>
  </tr>
</table>
so this means that the information in the table does not get cleared when submit is hit.. is there anyway of clearing the data when submit is hit??