jQuery - How to make the input values ("email", "password") reappear when out of focus?
<p>When I click inside the input fields the values "Email" and "password" disappear which is what I want. But if the user doesn't enter his email/pass and clicks somewhere else, I want "Email" and "Password" to reappear. </p>

<p>jQuery:</p>

<pre><code>$('.login-user, .login-pass').focus(function() {
    $(this).val("");
  });
</code></pre>

<p>Html:</p>

<pre><code>&lt;input type="text" name="user" value="Email" tabindex="1" class="login-user" /&gt;
&lt;input type="password" name="password" value="Password" tabindex="2" class="login-pass" /&gt;
</code></pre>

<p>Thanks.</p>
