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 () {
>
There is a problem with your syntax. There's no dot between jQuery and ().
jQuery(document).ready(function () {
jQuery('#regpage h3 > a').click(function () {
alert('hello');
return false;
});
})
-Hector
On Wed, Nov 19, 2008 at 10:31 AM, c.barr <[EMAIL PROTECTED]> wrote:
>
>
There's no need to shout, we can hear you OK. :-)
Take out the . after jQuery (in both places). Also add a semicolon at the
end for safety.
jQuery(document).ready(function () {
jQuery('#regpage h3 > a').click(function () {
alert('hello');
return false;
});
});
A tip for
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 fi
4 matches
Mail list logo