SyntaxFix
Write A Post
Hire A Developer
Questions
document.getElementById('your_input_id').value=''
Edit: This one doesn't work in IE and opera, but seems to work for firefox, safari and chrome.