Hello
I'm adding some ajax features to a site and I have very strange problem.
On webkit browsers the ajax request aren't working.
I have no idea where is the problem.
I noticed that if I leave only one ajax request the Safari(windows) is doing it right, but that its not what is happening to the Safari(Mac) and Chrome(windows).
The javascript console on firefox says that there are no errors.
Ah... i forgot to mention that I use jQuery(1.4.2) same on jQuery(1.4.3).
Does somebody have any idea what is happening?
Thank you!
Edit:
Some code.
$.post("http://address-to-the/file.php", { action : "get_location", location : location.href }, function(response){
if(response.status == "OK"){
$("#main-menu").html(response.code);
}else{
alert(response.message);
}
}, "json");