This is a basic DOM behavior, not a Mootools one. Mootools simply extends the native elements. You can do both and it will work (although the latter is supposed to be a better choice, I almost always use dot notation for value and such)
On Mon, Dec 6, 2010 at 12:12 PM, Maxim Lacrima <[email protected]>wrote: > Hi! > > I am currently looking at Events Basis mootools demo and have a question: > Where is it documented that I can access element properties with a dot > notation like in the demo: textarea.value? Why not > textarea.getProperty('value')? > > Thanks in advance. > > -- > with regards, > Maxim > -- Arieh Glazer אריה גלזר 052-5348-561 http://www.arieh.co.il http://www.link-wd.co.il
