[jQuery] Re: Beginner not getting it.

2007-08-26 Thread atomicnuke

Yeah, I'm an idiot, the jQuery script was uploaded to the wrong
directory for whatever reason. Sorry for the pointless post, lol. So
far I'm tinkering with it and truly enjoying the potential I see
jQuery offering. Thanks for not being mean about it!!



[jQuery] Re: Beginner not getting it.

2007-08-24 Thread John Resig

An error like that makes me think that tje jquery-1.1.4.js file
doesn't exist - you should verify that it is there - and if not, is
there a page that we can see of it in action? (All the code that you
show should work just fine.

--John

On 8/24/07, atomicnuke [EMAIL PROTECTED] wrote:

 I've been trying to follow the tutorials for the simple things and
 they aren't working. This is just a short snippet:

 script type=text/javascript src=jquery-1.1.4.js/script
 script type=text/javascript
 $(document).ready(function(){
$(a).click(function(){
alert(Thanks for visiting!);
 });
  });
 /script
 /head

 body
 a href=#Click/a
 /body

 But I just get an error in firebug '$ is not defined on line $
 (document).ready(function(){

 I've been using mootools because I was daunted looking at jQuery, but
 thought I'd give it a try.




[jQuery] Re: Beginner not getting it.

2007-08-24 Thread Benjamin Sterling
Is your path correct? src=jquery-1.1.4.js  and is the file there?  I know,
both stupid questions, but I can't remember how many times I did that.

On 8/24/07, atomicnuke [EMAIL PROTECTED] wrote:


 I've been trying to follow the tutorials for the simple things and
 they aren't working. This is just a short snippet:

 script type=text/javascript src=jquery-1.1.4.js/script
 script type=text/javascript
 $(document).ready(function(){
$(a).click(function(){
alert(Thanks for visiting!);
 });
 });
 /script
 /head

 body
 a href=#Click/a
 /body

 But I just get an error in firebug '$ is not defined on line $
 (document).ready(function(){

 I've been using mootools because I was daunted looking at jQuery, but
 thought I'd give it a try.




-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com


[jQuery] Re: Beginner not getting it.

2007-08-24 Thread Stephan Beal

On Aug 24, 9:16 pm, atomicnuke [EMAIL PROTECTED] wrote:
 But I just get an error in firebug '$ is not defined on line $
 (document).ready(function(){

As others have pointed out, the problem is almost certainly that your
js file is not being found. Unfortunately, Firebug hides the error
messages related to scripts not being found in the Net tab instead of
the error console. i've been bitten by this problem several times.