PDA

View Full Version : Ext.select vs Ext.Selects?



martin
23 Feb 2007, 7:37 PM
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

brian.moeskau
23 Feb 2007, 9: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

martin
24 Feb 2007, 6: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.

jack.slocum
24 Feb 2007, 8:04 AM
Sorry, that was a documentation parsing error. It has been corrected.

martin
24 Feb 2007, 6:56 PM
I still see it in Alpha 2 rev 1...martin