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: | xw_cht.y@qq.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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 comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
You want
.prop()
since contentDocument is not an *attribute*.