Just to clarify, that code fixes the problem, but not because of using $
instead of jQuery. What fixed it was removing the two extraneous dots.

-Mike

> From: c.barr
> 
> Use a $ selector instead of jQuery
> 
> $(document).ready(function() {
>   $('#regpage h3 > a').click(function () {
>         alert('hello');
>         return false;
>     });
> });
> 
> On Nov 19, 10:53 am, DanDaBeginner <[EMAIL PROTECTED]> wrote:
> > I have been searching on the net for 5 hours already but 
> can't find an 
> > answer.. PLEASE SOMEBODY HELP ME!
> >
> > the firebug is giving me this error:
> > XML filter is applied to non-XML value (function (selector, 
> context) 
> > {return new (jQuery.fn.init)(selector, context);})
> >
> > this was just the only jQuery code that I have:
> >
> > jQuery.(document).ready(function () {
> >     jQuery.('#regpage h3 > a').click(function () {
> >         alert('hello');
> >         return false;
> >     });
> >
> > })

Reply via email to