By the way, when I build elements outside DOM there is inconsistency
with selectors:
http://jsfiddle.net/n5ct6/2/

and it is really a pain, because I have to use both id and class to
find elements. Why is it so?



On Nov 8, 9:43 am, Christoph Pojer <[email protected]> wrote:
> Sounds like you have downloaded a custom build without Element.Style
> and Element.Dimensions
>
> On Nov 7, 11:08 pm, guandalino <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi, I'm starting use Mootools 1.3. I don't understand why some
> > Element's method seem not available. Given a div with id='content'
> > inside a valid html strict page, if in firebug console I type $
> > ("content").appendText("yada"); or $('content').addEvent("click",
> > function() {}); things work as expected, but if I invoke other
> > Element's methods, like getSize or setStyle I get an error: $
> > ("content").getSize is not a function. I also have the error with IE.
>
> > What's the cause?
>
> > Many thanks,
> > best regards.

Reply via email to