[jQuery] Where's my syntax error?

[jQuery] Where's my syntax error?


Can't figure out what I've got wrong.
Firebug is telling me "syntax error });"
Could someone please point out the error?
(Perhaps the entire coding is wrong...just trying
out something similar I saw on the list a moment ago)
Thanks,
Rick
<script type="text/javascript">
    $(document).ready(function(){
        $("#emailError").hide();
    });
    function validateEmail() {
        
        $("input.email").blur(function() {
            
            if (this.val.length == 0)
                $("#emailError").show();    
        });    
    });
                                
</script>