Yep...

HTML code is generally processed procedurally (in order), so if you're
writing jQuery code and including it, the jQuery include must come first,

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rick Faircloth
Sent: Monday, November 13, 2006 9:38 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Why won't this work?


Hi, Jorn..

That did it...didn't know the order of script reference was important!
Live and learn...

I also didn't realize I even had to include the jquery.js file...I only did
so as a desperate attempt to get the code to work.

So...the lesson is...the jquery.js file always has to be included for the
jQuery code to work and it has to be referenced first...correct?

Rick




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of "Jörn Zaefferer"
Sent: Monday, November 13, 2006 10:16 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Why won't this work?

Hi Rick!

> <script type="text/javascript" src="custom.js"></script>
> <script type="text/javascript" src="jquery.js"></script>

Looks like you got it nearly right, just that you must include jquery.js
BEFORE your custom code. Just call again if that doesn't help.

--
Jörn Zaefferer

http://bassistance.de
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to