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/
