Side navigation
#7586 closed bug (duplicate)
Opened November 21, 2010 07:18PM UTC
Closed December 13, 2010 01:14AM UTC
Last modified December 13, 2010 01:14AM UTC
jQuery.ajax removes script whose type is not text/javascript from html response
Reported by: | softlion | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | manipulation | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using jQuery.ajax to retreive html, if this html contains a script tag, the tag is removed from the html when it is inserted in the DOM.
This should not happen is the type of the script is not "text/javascript".
Example: FBML scripts from facebook (script type="text/fbml")
Attachments (0)
Change History (6)
Changed November 21, 2010 09:19PM UTC by comment:1
_comment0: | Thanks for taking the time to contribute to the jQuery project by writing a bug report! \ \ Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further. \ \ ----- ----- \ \ [http://docs.jquery.com/How_to_Report_Bugs How to report bugs] → 1290374753661197 |
---|---|
owner: | → softlion |
status: | new → pending |
Changed December 01, 2010 02:37PM UTC by comment:2
owner: | softlion |
---|---|
status: | pending → new |
Changed December 01, 2010 02:37PM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
No test case was provided. Closing. Feel free to reopen with a reproducible test case.
Changed December 09, 2010 06:23AM UTC by comment:4
resolution: | worksforme |
---|---|
status: | closed → reopened |
Test case created: http://jsfiddle.net/E5Ygp/
Changed December 13, 2010 01:14AM UTC by comment:5
component: | unfiled → manipulation |
---|---|
priority: | undecided → high |
resolution: | → duplicate |
status: | reopened → closed |
Thanks for taking the time to contribute to the jQuery project by writing a bug report!
Please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further as some quick tests show this working for me test case.
----- -----
How to report bugs