Skip to main content

Bug Tracker

Side navigation

#6120 closed bug (duplicate)

Opened February 18, 2010 03:49PM UTC

Closed February 18, 2010 10:11PM UTC

AJAX and Internet Explorer 7

Reported by: boboss123 Owned by:
Priority: Milestone: 1.4.2
Component: ajax Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:


Internet Explorer 7 send me an error message : bad method/property for this object

> i have no problem with IE6/IE8/Firfox/opera/safari

my code is :


url: fileJSON,

cache: false,

timeout: 4000,

type: "POST",

data: data,

success: myFunc,

error: myFunc


> I send this request to a special devise which restart when it detecte the request

To resolve the problem I modified JQuery source code :

Override the abort handler, if we can (IE doesn't allow it, but that's OK)

Opera doesn't fire onreadystatechange at all on abort

try {

var oldAbort = xhr.abort;

xhr.abort = function() {

if ( xhr ) {

try{ xhr );



onreadystatechange( "abort" );


I add try/catch for the command : xhr );

is it a bug ?

Attachments (0)
Change History (2)

Changed February 18, 2010 06:47PM UTC by geki007 comment:1

Same as Ticket:#6037 ?

Changed February 18, 2010 10:11PM UTC by john comment:2

component: unfiledajax
resolution: → duplicate
status: newclosed

Yeah, this is a duplicate.