I like this as well - the result seems quite intuitive.
--John
On Wed, Oct 22, 2008 at 7:10 AM, Jörn Zaefferer
<[EMAIL PROTECTED]> wrote:
> Sounds like a great idea to me. So far you always have to fall back to
> the DOM API when working with iframes, which means that someone not
> familiar with the DOM API falls flat on their face when dealing with
> iframes for the first time.
>
> Jörn
>
> On Wed, Oct 22, 2008 at 12:01 PM, Paul Bakaus
> <[EMAIL PROTECTED]> wrote:
>> Hey guys,
>>
>> I propose to add navigating through iframes for the immediate next version
>> of jQuery.
>> That would basically allow you to do stuff like $("iframe div") and fail
>> gracefully on iframes you're not allowed to access.
>>
>> Although I never worked on the selector engine, implementation seems quite
>> easy -
>> a initial test showed that adding something like
>>
>> if(ret[i].nodeName.toLowerCase() == "iframe") ret[i] =
>> ret[i].contentDocument || ret[i].document;
>>
>> at line 232 in selector.js would do the job (probably not in all cases
>> though). I personally think
>> it would be a very valuable addition, and I can see quite a few usecases in
>> jQuery UI.
>>
>> I also duplicated that email and submitted it as a ticket here:
>> http://dev.jquery.com/ticket/3509
>>
>> Yay nay?
>>
>> Paul Bakaus
>> UI Architect
>> --
>> http://paulbakaus.com
>> http://www.linkedin.com/in/paulbakaus
>>
>> >
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---