Opened 14 years ago
Closed 14 years ago
#3466 closed bug (duplicate)
IE6 & 7 throw an error during jsonp call using $.getJSON
Reported by: | tpaegle | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | ajax | Version: | 1.2.6 |
Keywords: | $.getJSON, jsonp, JSON, IE | Cc: | |
Blocked by: | Blocking: |
Description
On retrieving JSON data using $.getJSON(), IE7 was throwing an error "object doesn't support this property or method"
head.removeChild( script );
changed code to :
try{
head.removeChild( script );
} catch(e){ }
to get rid of the error. http://groups.google.com/group/jquery-en/msg/2315ac4e0aee5d45?pli=1
John Resig's response was: When you wrap the extra try catch around the removal does the element actually get removed from the document? Are there extra <script> elements left in the page?
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Consolidating this into #4378
Note: See
TracTickets for help on using
tickets.
Is this the same bug as Ticket #2923 and 3283?