[jQuery] double ajax calls don't work in IE
hi
got this problem:|
i load a page in a div with the load method using this function:
$("#myLink").click(function(){
$("#myDiv").load("myPage.php", function(){
myFunction();
});
return false;
});
myPage.php has a dropdown menu which makes another load in a div
var myFunction= function() {
("#myDropdown").change(function() {
gruppo = $("#myDropdown").val();
$("#myDiv2").load("myPage2.php.php?id="+id, function() {
myFunction2();
});
});
}
it works fine in firefox but not in ie which doesn't show anything
after i choose something from the edrop down.
i guess is something related to linking the function at the right
moment but i'm not really good in Javascript.
Any suggestion?
thanks vitto