Possibly it isn't necessary, you may be able to use $("#mydiv",self.MyIFrame.document), but I didn't go into any of that myself.
On 8/25/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
I understand that from within the iframe, I could do a
window.parent.$('#MyDivInsideIframe')
to use the jquery loaded in the parent to manipulate the div in the iframe.
However, I want to manipulate '#MyDivInsideIframe' from the parent.
When you suggest iframeobject, is that browser dependent? Or do you
mean from the parent, using something like
self.MyIFrame.$('#MyDivInsideIframe')
In that case, wouldn't that require jquery to be loaded in the iframe
also? Can that be avoided?
Thanks again for your help!
Quoting Blair McKenzie <[EMAIL PROTECTED]>:
> I've tried that before, and I ended up linking to jquery in the iframe page
> and using iframeobject.$().
>
> On 8/25/06, [EMAIL PROTECTED] <
> [EMAIL PROTECTED] > wrote:
>>
>> I have a scenario where I am trying to get to a div located within an
>> iframe from the parent using the jQuery $() selector. I have tried
>> multiple things but seem to have no luck. I was wondering if anyone
>> had some suggestions or some past issues with this.
>>
>> Thanks in advance,
>> Jeff
>>
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
>>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/