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)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 55560

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.
*** Bug 70169 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 55560 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED dup
Status: RESOLVED → VERIFIED
Component: DOM Other → DOM Level 1
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.