[jQuery] Re: Selectors in IFrame

2007-11-19 Thread Flesler
It's at: http://docs.jquery.com/Traversing/contents Did iFrameTable.document... work? I thought it was iFrameTable.ownerDocument maybe both work.. Anyway... that one was the jQuery-way to do that... I'm glad it helped. Ariel Flesler On Nov 18, 8:21 pm, chrismarx [EMAIL PROTECTED] wrote:

[jQuery] Re: Selectors in IFrame

2007-11-18 Thread Flesler
$('#iframeTable').contents().find('td'); Ariel Flesler On Nov 15, 8:25 am, chrismarx [EMAIL PROTECTED] wrote: What would be a jQuery equivalent for this iFrameTable.document.getElementsByTagName(td) if iFrameTable is the id of the iframe?

[jQuery] Re: Selectors in IFrame

2007-11-18 Thread chrismarx
this iFrameTable.document.getElementsByTagName(td) actually worked in ie and firefox (havent tried safari) this: $('#iFrameTable').contents().find('td'); worked beautifully as well. where is content() documented?? On Nov 17, 1:54 pm, Flesler [EMAIL PROTECTED] wrote:

[jQuery] Re: Selectors in IFrame

2007-11-15 Thread Jeffrey Kretz
Dealing with frames can be a bit tricky. The syntax you describe below is an IE-only solution. There are some different ways to access the document within the frame. All browsers support window.frames[] as an indexer. If there is only one frame on the page, window.frames[0] will work. You