Skip to main content

Bug Tracker

Side navigation

#7402 closed bug (invalid)

Opened November 04, 2010 04:54PM UTC

Closed November 04, 2010 06:13PM UTC

Last modified May 27, 2011 04:50PM UTC

In IE --> $.ajax shows textStatus=parsererror and TypeError: Object required

Reported by: ux.prem@live.com Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

hi,

tried to use the following code. This works fine with Firefox and i tried few examples available in the net that uses /ajax call and found the same error with IE. Please help me in fixing this.

Attachments (0)
Change History (5)

Changed November 04, 2010 06:13PM UTC by snover comment:1

resolution: → invalid
status: newclosed

The bug tracker is not a support forum. Please use the jQuery Forum for support requests.

Changed December 10, 2010 10:22PM UTC by anonymous comment:2

I honestly think you should look at this. Just because the person wrote "please help me in fixing this" doesn't mean they are asking for support. Maybe their grasp of English is not that good. I think the point is that they are asserting there is a bug in jQuery.

Changed December 10, 2010 10:32PM UTC by ajpiano comment:3

_comment0: @Anonymous \ \ The OP didn't even actually provide any code to even look at. Your sense of justice is admirable, but we all know that bugs exist in jQuery. This tracker exists to track the existence and progress of specific issues, not nebulous, "I tried the demo code but it doesn't work" type of problems that may just as easily be user error. If the OP had any interest in this issue after it was closed, he would have responded at some point in the last 5 weeks since it was closed.1292041048652138

@Anonymous

The OP didn't even actually provide any code to even look at. Your sense of justice is admirable, but we all know that bugs exist in jQuery. This tracker exists to track the existence and progress of specific issues, not nebulous, "I tried the demo code but it doesn't work" type of problems that may just as easily be user error. If the OP had any interest in this issue after it was closed, he would have responded at some point in the 5 weeks since.

Changed December 11, 2010 01:01PM UTC by prem_cpr comment:4

_comment0: Replying to [comment:3 ajpiano]: \ \ Hi, \ \ I am sorry that I haven't noticed that my code did not get attached with this ticket. Actually I tried to get a xml file using ajax method in jquery. It worked fine and in IE it showed "TEXTSTATUS=PARSERERROR AND TYPEERROR: OBJECT REQUIRED". So i posted this to get some help. May be posted in a wrong place (should be some where else, since I am new here I was not aware. Please let me know where I have to post this kind of help request). Anyway I solved this problem by giving this conditional statement \ for data type, "dataType :($.browser.msie) ? "text" : "xml", ". This solved the problem and now it is working in all the browsers. May be I am poor in English, but like jquery much and need your support for ever. \ \ Thanks for the time spent for this. \ -Prem C \ \ \ > @Anonymous \ > \ > The OP didn't even actually provide any code to even look at. Your sense of justice is admirable, but we all know that bugs exist in jQuery. This tracker exists to track the existence and progress of specific issues, not nebulous, "I tried the demo code but it doesn't work" type of problems that may just as easily be user error. If the OP had any interest in this issue after it was closed, he would have responded at some point in the 5 weeks since. \ 1292072522084316

Replying to [comment:3 ajpiano]:

Hi,

I am sorry that I haven't noticed that my code did not get attached with this ticket. Actually I tried to get a xml file using ajax method in jquery. It worked fine in firefox and in IE it showed "TEXTSTATUS=PARSERERROR AND TYPEERROR: OBJECT REQUIRED". So i posted this to get some help. May be posted in a wrong place (should be some where else, since I am new here I was not aware. Please let me know where I have to post this kind of help request). Anyway I solved this problem by giving this conditional statement

for data type, "dataType :($.browser.msie) ? "text" : "xml", ". This solved the problem and now it is working in all the browsers. May be I am poor in English, but like jquery much and need your support for ever.

Thanks for the time spent for this.

-Prem C

@Anonymous The OP didn't even actually provide any code to even look at. Your sense of justice is admirable, but we all know that bugs exist in jQuery. This tracker exists to track the existence and progress of specific issues, not nebulous, "I tried the demo code but it doesn't work" type of problems that may just as easily be user error. If the OP had any interest in this issue after it was closed, he would have responded at some point in the 5 weeks since.

Changed May 27, 2011 04:50PM UTC by anonymous comment:5

WORK AROUND FOR THIS BUG

Changed Header of the feed to

Content-Type: application/xml

To create the above error in IE8 set content type header to

Content-type: application/rss+xml;

This is a bug not support issue; see proper rss contentTypes

http://www.petefreitag.com/item/381.cfm