Hi all,

The obligatory jsFiddle: http://jsfiddle.net/barryvan/7B7uL/

So, in a nutshell:
- Calling "set('disabled', true)" on Elements works perfectly.
- Calling "erase('disabled')" on Elements doesn't work
- Calling "erase('disabled')" on each Element within the Elements works perfectly

To me, this looks like a bug -- is it? If it is, I'll report it on GitHub. My guess is that it's because Elements.erase is actually Array.erase, rather than Element.erase for each member. Which should take precedence isn't very clear -- the docs just say "The Elements class allows Element methods to work on an Elements array, as well as Array Methods.".

Thoughts?

Regards,

- Barry

--
Barry van Oudtshoorn
www.barryvan.com.au

Not sent from my Apple ?Phone.

Reply via email to