jQuery Syntax Issue - Blur + Focus Problems
<p>I'm using the following code to show and hide a label on a text field when someone enters text in the box.</p>

<p>What I'm attempting to do is when you click on the box the text disappears, and if you don't enter text, the label reappears. Any idea what i'm doing wrong?</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $(document).ready(function () {
        $("input:text").focus(function () {
            if ($(this).val == "Name/Email:") {
                $(this).val("");    
            };  
        });

        $("input:text").blur(function () {
            if ($(this).val == "") {
                $(this).val("Name/Email:"); 
            };
        });
    });
&lt;/script&gt;

&lt;input id="page4-input1" type="text" value="Name/Email:"  /&gt;
&lt;input id="page4-input2" type="text" value="Name/Email:" /&gt;
&lt;input id="page4-input3" type="text" value="Name/Email:" /&gt;
&lt;input id="page4-input4" type="text" value="Name/Email:" /&gt;
&lt;input id="page4-input5" type="text" value="Name/Email:" /&gt;
</code></pre>
