Skip to main content

Bug Tracker

Side navigation

#5902 closed bug (worksforme)

Opened January 22, 2010 06:41PM UTC

Closed November 22, 2010 02:49AM UTC

ajaxComplete event problem, -or- ajaxStart problem?

Reported by: subassio Owned by: subassio
Priority: major Milestone: 1.4.1
Component: ajax Version: 1.4
Keywords: ajaxComplete, ajaxStart Cc:
Blocked by: Blocking:
Description

simple test:

<div id="Div0"></div>

<div id="Div1"></div>

<div id="trigger0">Trigger</div>

<div id="trigger1">Trigger1</div>

<script type="text/javascript">

$('#Div0').ajaxStart(function() {

$("#trigger0").text('Triggered0 ajaxStart handler.');

});

$('#Div0').ajaxComplete(function(event, request, settings) {

$("#trigger0").text('Triggered0 ajaxComplete handler.');

});

$('#Div1').ajaxStart(function() {

$("#trigger1").text('Triggered1 ajaxStart handler.');

});

$('#Div1').ajaxComplete(function(event, request, settings) {

$("#trigger1").text('Triggered1 ajaxComplete handler.');

});

$(document).ready(function() {

$('#Div0').load("Handler.ashx");

});

</script>

result:

$(document).ready(function()..

$('#Div0').ajaxStart..

$('#Div1').ajaxStart..

$('#Div0').ajaxComplete...

Finish

not call $('#Div1').ajaxComplete

-or-

wrong call $('#Div1').ajaxStart ??

Attachments (0)
Change History (2)

Changed November 14, 2010 03:52AM UTC by dmethvin comment:1

owner: → subassio
status: newpending

Please create a test case using jsfiddle, and explain what you think the test case should do.

Changed November 22, 2010 02:49AM UTC by jitter comment:2

resolution: → worksforme
status: pendingclosed

test case Can't reproduce this problem