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

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

Sean...
That's totally cool. I love what I've seen of jquery. I'm not trying to make
waves...I just want to learn the best way to do things. I'm eagerly awaiting
John's documentation as I think that will make things much easier for
beginning jquery users like myself.
Thanks a lot!
<!----------------//------
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 sunsean
Sent: Tuesday, June 27, 2006 5:55 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Why isn't $() working for me?
That's interesting, because normally you have to at least have a '#'
with your request for an ID. Perhaps it's a bug.
Just so you're all set straight though, $() returns an object, thus
you must do one of the following.
$('#control').get(0).innerHTML = 'Method 1";
$('#control').html('Method 2');
~Sean

























    • Topic Participants

    • andy