$('#homemenubutton').click(function() {
$('#leftcolumncontainer').load('pages/homemenu.php');
$('#middlecolumncontainer').load('pages/homecontent.php');
});
$.ajaxSetup({
url: "pages/mayorscolumn.php",
success: function(result) {
$("#leftcolumncontainer").html(result);
}
});
$.ajax();
$('#menuhome').click(function() {
location.reload(true);
//$('#leftcolumncontainer').load('pages/mayorscolumn.php');
//$('#middlecolumncontainer').load('pages/imagegallerycolumn.php');
});
i have this code above to load a page in left side of page this page is a menu page while the middle page will be content.my question is very simple why does it behave odd sometimes and perfectly other times..there are times when i press the button middle pages is loaded in both container there are times that it load both pages.what may cause this to happened?any suggestion is appreciated