Javascript onsubmit clearcontent not working
<pre><code>&lt;textarea onfocus=" javascript:clearContents(this); this.cleared=true;" rows="5" cols="40" id="comment" name="comment" &lt;?php if($vis["username"] == $pusername) { echo "DISABLED"; } ?&gt;&gt;...&lt;/textarea&gt;
&lt;input onsubmit="if (!this.comment.cleared) clearContents(this.comment); return true;" type="submit" name="Submit" value="Stem!"/&gt; 

function clearContents(element) {
  element.innerHTML = '';
}
</code></pre>

<p>This wont work, and i cant figure out why. What it does: clears the content if it hasnt been onfocus/clicked on by the person</p>
