It looks like there is a space between "input" and "#emailaddress"

and that makes no sense as that will say:

"give me the control with id "#emailaddress" that is a descendant of
"input""

and <input> controls do not have descendants





On Dec 16, 1:27 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> I get no errors, but no response, either.
> I tried just using $('#emailaddress').blur... without the "input",
> but then I got a val undefined error.
>
> <script>
>
>      $(document).ready(function() {
>
>           $('input #emailaddress').blur(function() {
>
>                if (this.val.length == 0)
>                $('#emailerror').show();
>           });    
>      });
>
> </script>
>
> Thanks,
>
> Rick

Reply via email to