Modify ↓
Ticket #16 (closed bug: invalid)
Returning script tag in IE fails
| Reported by: | DaveG | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ajax | Version: | |
| Keywords: | script, ajax | Cc: | |
| Blocking: | Blocked by: |
Description
IE will not execute javascript with surrounding script tags unless the tags are preceded by a character. Thus returning the following in response to a .load fails to execute in IE: <script type="text/javascript"> /* <![CDATA[ */
alert("here");
/* ]]> */ </script>
Preceding with some character works: - <script type="text/javascript"> /* <![CDATA[ */
alert("here");
/* ]]> */ </script>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
