Skip to main content

Bug Tracker

Side navigation

#11032 closed bug (invalid)

Opened December 15, 2011 12:36PM UTC

Closed December 15, 2011 01:35PM UTC

$('#iframeId').attr('contentDocument') don’t work

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

it should be return a DOMElement "Document". And it works ago.

Also can use like this: $('#iframeId')[0].contentDocument

But this don't : $($('#Editor_Edit_EditorBody_ifr')[0]).attr('contentDocument')

I think it's a bug.

Attachments (0)
Change History (1)

Changed December 15, 2011 01:35PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

You want .prop() since contentDocument is not an *attribute*.