Hey I am facing a wired prob regarding alert() in IE I am using Jquery Ajax $.get to get data .... here is the code......
$(document).ready(function () {
$("#save").click(function () {
vars = "pg=13&";
if ($("#parent_code").val() == "") {
vars += "type=insert&";
} else {
vars += "type=update&";
}
vars += $("#parent").serialize();
$.get("pgs/dpg.php", vars, function (data) {
$(data).find("row").each(function () {
stat = $(this).children(":first-child").text();
if (stat == "Saved") {
if ($("#parent_code").val() == "") {
$("#parent_code").val($(this).children(":nth-child(2)").text());
$("#parent_date").val($(this).children(":nth-child(3)").text());
}
}
alert(stat);
alert(data);
});
});
});
});
The above function works n shows popup in all browsers except IE I don't know where I am mistaken..... please help.........