[jQuery] embedding <script> behaviour different in IE and FF
Hi,
I'm using $.ajax to pull down some HTML and insert it into the dom.
The HTML has some embedded <script> - in IE it gets fired once, but in
FF in gets fired twice - once when it's parsed by jQuery and again
when it's inserted into the DOM.
I've put a proof of concept here : http://labs.parkerfox.co.uk/jquery/test_ajax.html.
On IE there's one popup that says "from test", but on FF, there's two.
Not sure what happens in Safari.
Any one know how to fix these issues ?