Ajax synchrone
function getRemote() {
return $.ajax({
type: "GET",
url: remote_url,
async: false
}).responseText;
}
feddynventor
function getRemote() {
return $.ajax({
type: "GET",
url: remote_url,
async: false
}).responseText;
}