Side navigation
#4900 closed bug (invalid)
Opened July 14, 2009 01:53PM UTC
Closed November 18, 2010 03:01AM UTC
$.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: | ||
Blocked by: | Blocking: |
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.
Attachments (0)
Change History (1)
Changed November 18, 2010 03:01AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This is a cross-domain request and inherently broken.