malsup/taconite — Issue #16: Disappearing JavaScript
Author: mixedconnections
Created: 2011-12-05 15:38:46+00:00
State: open

I am using FF version 7.0.1 for Ubuntu Linux.

JavaScript in the XML response is not showing up in the updated HTML. For example, this XML response:

<script type="text/javascript">
alert("hello");
</script>

Will produce this HTML:

The JavaScript is executed, however, and an alert box is generated. Note that the HTML also contains enclosing DIV tags (not to mention the special EVAL tag!). This is another example of my earlier bug #15. Those DIV tags show up on Windows7 and FF 8 too.

Anyway, why is the JavaScript not showing up in the HTML? I ran more tests and found that the JavaScript is always absent. I have a lot of JavaScript that I am returning and none of it works properly when using taconite. It would help if I could actually see it in the HTML.