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
-~----------~----~----~----~------~----~------~--~---