[jQuery] Re: None of the tutorials I try work for jquery

2009-01-29 Thread surreal5335
There we go it was the calling of the source that was messing it all up Thanks a lot for helping me get started On Jan 29, 11:35 am, Karl Swedberg wrote: > On Jan 29, 2009, at 12:27 PM, amuhlou wrote: > > > > > Have you tried linking directly to the jquery code stored by google? > > Your first

[jQuery] Re: None of the tutorials I try work for jquery

2009-01-29 Thread Karl Swedberg
On Jan 29, 2009, at 12:27 PM, amuhlou wrote: Have you tried linking directly to the jquery code stored by google? Your first script tag would be http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/ jquery.min.js"> If your code works when you use that, then it's a problem with how you're tr

[jQuery] Re: None of the tutorials I try work for jquery

2009-01-29 Thread amuhlou
Have you tried linking directly to the jquery code stored by google? Your first script tag would be http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/ jquery.min.js"> If your code works when you use that, then it's a problem with how you're trying to access the jquery file. On a side note, y

[jQuery] Re: None of the tutorials I try work for jquery

2009-01-29 Thread surreal5335
Well I tried that, and sad to say but the }); was in there. Am I not calling the jquery library properly? Does jquery have a problem the html doc I have at the top of my code? Thanks a lot for your help On Jan 28, 9:32 pm, Karl Swedberg wrote: > Hi there, > > Looks like you're missing a line.

[jQuery] Re: None of the tutorials I try work for jquery

2009-01-28 Thread Karl Swedberg
Hi there, Looks like you're missing a line. Try this: $(document).ready(function(){ $("a").click(function(event){ alert("Thanks for visiting!"); event.preventDefault(); }); // <-- you were missing this one. }); Try it here: http://test.learningjquery.com/click.html --Karl ___