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;
>     });
>
> })
>
> _________________
>
> Thank you in advance!

Reply via email to