ellandrd
asked on
jQuery / Prototype bugs in IE
I use jQuery 1.2.1 and Prototype 1.5.1 libraries for some effects when deleting records from the database. I have noticed it does not return the second callback response for all versions of IE - 5, 6 & 7 so i do not get my last effect occuring...
This is a bug or am I doing something wrong? I have tested the script on a number of other browsers and it all works fine...so i guess it is an issue with Micro$lop browser - IE...
See my code below:
This is a bug or am I doing something wrong? I have tested the script on a number of other browsers and it all works fine...so i guess it is an issue with Micro$lop browser - IE...
See my code below:
function removeRow(eid,mid) {
var myAjax = new Ajax.Request("delete-email-alert.jsp?eid=" + eid, {
method:'get',
onSuccess: function(callback) {
var object = new Ajax.Request("count-email-alerts.jsp?mid=" + mid, {
method:'get',
onSuccess: function(callback) {
if(callback.responseText == 0) {
$("#"+eid).fadeOut("slow", function() {
$(this).html("<div class=\"col-empty\">All email alerts have now been deleted!</div>").fadeIn("slow");
});
} else {
$("#"+eid).fadeOut("slow").slideUp();
}
}
});
}
});
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Works perfect now.
Ellandrd