how to update filed when user type somethin in field
<p>i create a field with this code </p>

<pre><code>&lt;tr&gt;&lt;td&gt; &lt;input type="text" value="good"  onfocus="if (this.value == 'good') {this.value=''}" onblur="if(this.value == '') { this.value='good'}" name="name" maxlength="254" class="required" /&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>when user click on field then we have clear and empty field.and if user put field empty we write back this <code>good</code> value.but thats not what i want i am looking for some way like user registration form in facebook then if user type a charachter we clear value and if user keep field empty we will fill in this field with defualt value..can someone help me with this javascript or jquery?
thanks in advance</p>
