Aryeh Glazer is correct (that is his name in English): The $() function extends elements in IE with much of the stuff that come standard in other browsers.
Aryeh and I both live in Jerusalem Israel (along with many other Mootoolers) - the library is truly a global project. My apologies if this is a double post - I am not sure what went through. On Jan 25, 2:50 pm, Fábio M. Costa <[email protected]> wrote: > This is the correct solution. > The target element is not extended automatically for performance reasons. > > -- > Fábio Miranda Costa > Solucione Sistemas > Engenheiro de interfaces > > On Mon, Jan 25, 2010 at 10:33 AM, Rolf -nl <[email protected]> wrote: > > I didn't know that..!? What did I mis.. > > > This does seems to work (have to implement in my application for a > > proper test etc.) > > Can anyone else confirm this is the correct solution? > > > Thanks so far, > > Rolf > > > ps > how do we pronounce your name, since it's not written in > > latin? :) > > > On Jan 25, 12:37 pm, אריה גלזר <[email protected]> wrote: > > >http://www.mootools.net/shell/GcDCC/3/ > > > i think this would work. you need to wrap elements with $() in IE unless > > you > > > already fetched them with a Moo method > > > > this is because in IE you cant extend Element directly > > > ----------- > > > אריה גלזר > > > 052-5348-561 > > > 5561 > > > > On Mon, Jan 25, 2010 at 13:21, Rolf -nl <[email protected]> wrote: > > > > I don't know why I can't get this right, it seems too simple... but > > > > I'm getting frustrated :) > > > > > I have a bunch of elements on a page and these elements can contain > > > > text (and other stuff). If you click inside the element I have to > > > > check if that element is in some array to determine if I have to do > > > > something or not. > > > > > When I click on the text in this example, why does Explorer return > > > > [object] and not as other browsers do something like > > > > [objectHTMLSpanElement]? > > > > >http://www.mootools.net/shell/GcDCC/2/ > >
