Ext.select vs Ext.Selects? - Ext JS

Perhaps a dumb question, but what's the difference between the two public methods of Element?

When should I use one over the other?

Thanks...martin
  # 2  
02-23-2007, 11:52 PM

Martin,

Where are you seeing Element.Selects? I don't think that's valid, and it does not exist in ext-all.js. Element.select is what you should be using.

Brian
__________________
Brian Moeskau
FAQ / Tutorials / User Extensions / Enhanced Forum Search
  # 3  
02-24-2007, 08:54 AM

In the documentation, click on element, 4th public method:

Selects(String/Array selector, [Boolean unique]) : CompositeElementLite/CompositeElement Element
<static> Selects elements based on the passed CSS selector to enable working on them as 1.
  # 4  
02-24-2007, 10:04 AM

Sorry, that was a documentation parsing error. It has been corrected.
  # 5  
02-24-2007, 08:56 PM

I still see it in Alpha 2 rev 1...martin

你可能感兴趣的:(css,ext)