I believe this is a browser thing, not a code thing.
However, if you want to override the default behavior when the page has loaded, try running (jQuery):
$(function(){
$( 'textarea, input[type=text]' ).val('')
});
or (pure Javascript):
var load = function()
{
document.forms[0].elements["username"].Value =
document.forms['postform'].elements["text"].Value = '';
}
in the body
tag of your page add: onLoad=load()