True, but then you can always do $(selector).get(0) or $(selector)[0] to get
back to the DOM.

Not ideal, but very useful.

Adrian

> -----Original Message-----
> From: Andy Matthews [mailto:li...@commadelimited.com]
> Sent: 24 April 2009 14:32
> To: cf-talk
> Subject: RE: Any JS wizards out there care to lend a hand?
> 
> 
> Problem with that is that getElementByID returns a DOM object, while a
> jQuery call returns a jQuery object. Different things.
> 
> -----Original Message-----
> From: Cutter (CFRelated) [mailto:cold.fus...@cutterscrossing.com]
> Sent: Friday, April 24, 2009 8:11 AM
> To: cf-talk
> Subject: Re: Any JS wizards out there care to lend a hand?
> 
> 
> Don't think you really need a new menu, just convert some of you
> functions
> to *use* JQuery. Something like:
> 
> var el = $('#hb-nav > li:first');
> 
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> Co-Author of "Learning Ext JS"
> http://www.packtpub.com/learning-ext-js/book


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321931
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to