[jQuery] Why isn't $() working for me?

[jQuery] Why isn't $() working for me?

Then why did this line do exactly what I thought it would:
content = 'something goes here';
$('loggedOut').innerHTML = content;
When that code ran, the words 'something goes here' appeared inside the div
with an ID of loggedOut.
I've read the manual, to some extent and didn't get an explanation that
suited me. Like I said...I'm okay if that's the wrong way to write what I
want to happen. But why is it working in one place and not in another?
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
andy@icglink.com
615.370.1530 x737
--------------//--------->
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
Behalf Of Dave Methvin
Sent: Tuesday, June 27, 2006 5:12 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Why isn't $() working for me?




















    • Topic Participants

    • andy