Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.8

Bug #14144 Javascript in HTML_AJAX.replace target document doesn't get executed in Opera.
Submitted: 2008-06-15 15:59 UTC
From: bes Assigned: jeichorn
Status: Closed Package: HTML_AJAX (version 0.5.5)
PHP Version: 5.2.3 OS: Windows
Roadmaps: 0.5.6    
Subscription  


 [2008-06-15 15:59 UTC] bes (Erik Zik)
Description: ------------ If I load a document into a div using HTML_AJAX.replace and the loaded document contains JavaScript, that JavaScript will not get executed in Opera. Test script: --------------- ==index.php==
TEST
<script type="text/javascript" language="JavaScript" src="server.php?client=all"></script> <script type="text/javascript" language="JavaScript"> HTML_AJAX.replace("div_id", "test_contains_js.php"); </script> </body> </html> ==test_contains_js.php == <script type="text/javascript" language="javascript">alert("test");</script> Expected result: ---------------- In all browsers: TEST replaced with JavaScript alert box containing the text "test". Actual result: -------------- In Opera 9.5: TEST is replaced with empty text, but no alert box is shown.

Comments

 [2008-06-16 18:02 UTC] jeichorn (Joshua Eichorn)
Fixed in svn 0.5.6 will be released soon