Closed
Bug 134323
Opened 22 years ago
Closed 22 years ago
setAttribute("src") does not load iframe document
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: john, Assigned: john)
Details
Attachments
(2 files, 1 obsolete file)
iframe.setAttribute("src", "http://www.google.com") has no effect. iframe.src = "http://www.google.com" has an effect. Probably happens with frames too, I'll check that when I fix this.
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Severity: normal → trivial
OS: Linux → All
Target Milestone: --- → Future
Comment 2•22 years ago
|
||
It does work fine if the element with the onClick="document.getElementById('blah').setAttribute('src', 'http://www.google.com')" is something else than a button, say an a or p.
Assignee | ||
Comment 3•22 years ago
|
||
So it does. Now I am confused. The code doesn't catch setAttribute('src') as far as I can tell.
Attachment #76834 -
Attachment is obsolete: true
Assignee | ||
Comment 4•22 years ago
|
||
The setAttribute('src') was failing because I had an error in my JS. Whether this was a problem before or not, it's fixed now by JST's iframe change.
Assignee | ||
Comment 5•22 years ago
|
||
Fixed by the iframe change.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•