Closed
Bug 70168
Opened 24 years ago
Closed 24 years ago
Changes to src component of SCRIPT-Tag do not load the new script
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: georg.maass, Assigned: jst)
References
Details
Changes to src component of SCRIPT-Tag do not load the new script:
<script id="myScriptTag" type="text/javascript" src="test1.js"></script>
sc=document.getElementById('myScriptTag');
alert('test1.js was here...);
sc.src='test2.js';
alert('test2.js was here...);
function test2F(){};
This changes the content of the src property correctly, but the new script file
is not loaded or at least not parsed. I.e. test2F is not defined, the alert ist
not displayed. With IE (tested with IE5.5) this works well.
| Assignee | ||
Comment 2•24 years ago
|
||
*** This bug has been marked as a duplicate of 55560 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•24 years ago
|
Component: DOM Other → DOM Level 1
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•