Bug Tracker

Ticket #4900 (closed bug: invalid)

Opened 5 years ago

Last modified 4 years ago

$.get(url,fn) not register event in FF3.0.11

Reported by: Tyde Owned by:
Priority: minor Milestone: 1.3.2
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

I have done some testing with $.get() function and the result was fine in IE7 and IE8 event, but in FF3.0.11 it will not trigger the event. My test was as follow

$.get(" http://www.google.com", function(page) {

alert("success !!!");

});

--- Other test ---

<script type="text/javascript"> $(function() {

$.ajax({

url: " http://www.google.com",

type: "get",

data: "",

complete: myAjaxDone,

success: myAjaxSuccess,

error: myAjaxError

});

});

function myAjaxDone () { alert("myAjaxDone !!"); };

function myAjaxSuccess () { alert("myAjaxSuccess !!"); };

function myAjaxError () { alert("myAjaxError !!"); };

</script>

In IE7 and IE8 the alert will be myAjaxSuccess follow by myAjaxDone, but in FF nothing happen.

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This is a cross-domain request and inherently broken.

Note: See TracTickets for help on using tickets.