Sorry, I should have said, this code doesn't require the iframes have jQuery
loaded.
On 1/25/07, Blair McKenzie <[EMAIL PROTECTED]> wrote:
What about:
var a=$("nothing");
$("iframe").each(function(){
a.add(this.contentDocument.getElementsByTagName("a"));
});
On 1/25/07, David Gironella <[EMAIL PROTECTED]> wrote:
>
> I can't place code inside Iframe.
>
>
>
> Thk.
>
> Giro.
>
>
>
>
> ------------------------------
>
> *De:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *En
> nombre de *Blair McKenzie
> *Enviado el:* jueves, 25 de enero de 2007 12:18
> *Para:* jQuery Discussion.
> *Asunto:* Re: [jQuery] Retrieve a from iframe
>
>
>
> The only way to use jQuery across frames is to include jQuery in each
> frame's source. If they do, then you could do something like:
> var a=$("nothing");
> $("iframe").each(function(){
> if (this.jQuery ) a.add(this.jQuery("a"));
> });
>
> Blair
>
> On 1/25/07, *David Gironella* <[EMAIL PROTECTED]> wrote:
>
> How can I get all A from all IFRAMES in web?
>
>
>
> Thk.
>
>
>
> Giro.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
> --
> Este mensaje ha sido analizado por *MailScanner*<http://www.mailscanner.info/>
> en busca de virus y otros contenidos peligrosos,
> y se considera que está limpio.
> MailScanner agradece a transtec Computers <http://www.transtec.co.uk/>por su
apoyo.
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/