Resetting function in javascript?
<p>I made a simple javascript translator using google API. Instead of using a button to translate the text i made <strong>onKeyUp="doTheFunction()"</strong> so that it translates once you type. At the bottom I have a button which clears the textareas. Once you clear the textareas and start typing again I get nothing. It seems that something like reset is missing ?</p>

<p>Here is a working fiddle: <a href="http://jsfiddle.net/5eC49/" rel="nofollow">http://jsfiddle.net/5eC49/</a></p>

<p>Try to type Hello, press the button and type hello again? </p>

<p>Thanks alot</p>
