Side navigation
#11379 closed bug (worksforme)
Opened February 23, 2012 02:32PM UTC
Closed February 23, 2012 02:43PM UTC
bug: jQuery.find() returns unexpected result in Chrome
Reported by: | shinigam8@yahoo.com.br | Owned by: | shinigam8@yahoo.com.br |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | dimensions | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I cant't get acess content of iframe in the same domain, using Google Chrome.
It isn't works:
$('iframe').contents().find('body').height();
I want resize the iframe using the content of iframe height.
Attachments (0)
Change History (2)
Changed February 23, 2012 02:34PM UTC by comment:1
owner: | → shinigam8@yahoo.com.br |
---|---|
status: | new → pending |
Changed February 23, 2012 02:43PM UTC by comment:2
_comment0: | Tested with Google Chrome stable, beta and canary: http://jsfiddle.net/Tr2f5/. Each return 108 as the width with '/' being used as the iframe URL (same domain). Please double check your code or ask in the jQuery forums if you require further assistance. → 1330008733615114 |
---|---|
component: | unfiled → dimensions |
priority: | undecided → low |
resolution: | → worksforme |
status: | pending → closed |
Tested with Chrome stable, beta and canary: http://jsfiddle.net/Tr2f5/. Each return 108 as the width with '/' being used as the iframe URL (same domain). Please double check your code or ask in the jQuery forums if you require further assistance.
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.