jQuery.load() executes scripts in wrong order
|Reported by:||Finn||Owned by:||Finn|
When jQuery.load() loads HTML with both inline and external scripts, all inline scripts are always executed before the external ones. Additionally, the .load() callback function is called after the inline scripts, but before the external scripts.
Test case fiddle here: http://jsfiddle.net/TEMLZ/4/
The test case shows the same behaviour on IE 8, FF 3.6, Opera 11.50 and Chrome 12.0.
Change History (3)
comment:1 Changed 5 years ago by sindresorhus
- Component changed from unfiled to ajax
- Owner set to Finn
- Priority changed from undecided to low
- Status changed from new to pending