Side navigation
#8693 closed bug (invalid)
Opened March 29, 2011 12:50PM UTC
Closed March 29, 2011 11:47PM UTC
Last modified March 14, 2012 04:07PM UTC
$.get('url.html', myFunc) error : Object Required in IE 8.0.6001.18702IC
Reported by: | kutio | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
When I call this $.get('url.html', myFunc), I have an error : Object Required with IE 8.0.6001.18702IC.
The function is : resolveWith: function( context, args )
and the error is on the block : "finally {".
IE error :
Détails de l’erreur de la page Web
Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648)
Horodateur : Tue, 29 Mar 2011 12:23:35 UTC
Message : Objet requis
Ligne : 5641
Caractère : 12
Code : 0
I have the same error with all version of jquery.
Versions tested :
1.3 to git version ( normal version and Google Ajax API CDN, Microsoft CDN, and JQuery CDN ).
As regards,
Attachments (0)
Change History (2)
Changed March 29, 2011 11:47PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed March 30, 2011 08:36AM UTC by comment:2
I found the problem :
function myFunc(data)
{
$('div#myDiv').empty();
$('div#myDiv').append(data);
}
replaced by :
function myFunc(data)
{
$('div#myDiv').empty();
$('div#myDiv').html(data);
}
Now it works on IE.
As regards,
The problem is in myFunc and has nothing to do with $.get. Try with jQuery.noop instead of myFunc and you'll see it'll work.