Yes, I already use that method. To return a DOM object, but that is the key DOM object and not jQuery Object...
That is why I asked the question in the first place, but you neglected to read further before replying. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 February 2007 11:18 AM To: CF-Talk Subject: Re: Ajax and CF question? > Now one thing I have noticed so correct me if I am wrong, everything seems > to be based on Ids? Is that correct. It's not based on ids, you can select your DOM elements any old way you want. $("input") selects all inputs $("[EMAIL PROTECTED]") selects a select element named "myselect" $("div.myclass") selects all divs with class "myclass" Once you've selected the DOM elements you want, you use the method you want: $("div.box").show() would show all divs of class box That's just scratching the surface, it's really quite brilliant. Sort of makes you wish javascript had this built in in the first place. I've always been of the mind to roll my own JS, not use libraries, but I heard so much hype about jQuery I had to check it out...now I'm going to use it in any apps that use JS. Cuts down JS coding by like 80-90%. -- Josh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270895 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

