[Prototype-core] Re: getElementsBySelector has different behaviour in 1.5.0 and 1.5.1

2007-06-13 Thread Jostein
On 13 Jun, 13:57, Mislav Marohnić [EMAIL PROTECTED] wrote: Can you try frames[myIframe].document.body? Thanks, I tried, but it gave the same result. One thing that is strange, is that when I try to get elements with selectors like table or .class1 it works perfectly! It is just the ids (#id)

[Prototype-core] Re: getElementsBySelector has different behaviour in 1.5.0 and 1.5.1

2007-06-13 Thread Mislav Marohnić
On 6/13/07, Jostein [EMAIL PROTECTED] wrote: One thing that is strange, is that when I try to get elements with selectors like table or .class1 it works perfectly! It is just the ids (#id) that don't work. OK, so here is what you do now. Check out the latest trunk and try with it. If it

[Prototype-core] Re: getElementsBySelector has different behaviour in 1.5.0 and 1.5.1

2007-06-13 Thread Mislav Marohnić
On 6/13/07, Marius Feraru [EMAIL PROTECTED] wrote: [ Seeing you mentioned myIframe (+ the reference to a document property), I'm assuming you're really talking about IFRAMEs, i.e. the HTML element ]. Why would anyone expect to be able to reach other folks' documents? ;-) It's ugly enough

[Prototype-core] Re: getElementsBySelector has different behaviour in 1.5.0 and 1.5.1

2007-06-13 Thread Mislav Marohnić
On 6/13/07, Marius Feraru [EMAIL PROTECTED] wrote: Neither Gecko 1.8 nor 1.9 are able to get the content of #myIframe. $('myIframe').contentDocument.body That is W3C standard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Prototype-core] Re: getElementsBySelector has different behaviour in 1.5.0 and 1.5.1

2007-06-13 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mislav Marohnić wrote: $('myIframe').contentDocument.body That is W3C standard. QED: I'm obsolete. :o) Thanks (again) a million, Mislav. :) - -- Marius Feraru -BEGIN PGP SIGNATURE-