Skip to content

Disappearing JavaScript #16

@topunix

Description

@topunix

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:

 <replaceContent select='#main'>
    <eval>
    <![CDATA[
    <script type="text/javascript">
            alert("hello");
    </script>
    ]]>
    </eval>
</replaceContent>

Will produce this HTML:

<eval>
<div>

</div>
</eval>

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions