Very newbie issue in Javascript
<p>I'd like to put an external js file into webpage that could do the same thing as follows:</p>

<pre><code>&lt;input type="text" value="Cosa stai cercando?" onfocus="if (this.value == 'Cosa stai cercando?') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Cosa stai cercando?';}"&gt;
</code></pre>

<p>Thank you very much</p>
