I have two Ajax function that are on the same div, so the first one isn't executed or better is canceled from the second one.
Any hint on how to fix this problem?
I wasted two days and wasted my brain too without finding a solution.
$(function(){
$('#navigation').find('a').tooltip({effect: 'slide'});
});
$(window).load(function(){
$('#sliding').slider({
_Options: {
imageWidth: 300,
imageHeight: 200
}
});
});
function swapContent(cv) {
var url = "testing_cover.php";
$.post(url, {contentVar: cv}, function(data) {
$("#sliding").html(data).show();
});
}