Hi People, I'm encountering a problem while making ajax calls these days. Indeed, let's say I write my function in this way :
function blabla(argt0,...) { $.post("some script.php",function(data) { // result = process data return result; }) } I would like my function "blabla" to return the result from "some script.php". I simply can't do this cause my variable is catched in my ajax call and not recognized two lines below. This problem is causing me much difficulties in my dev work. How can I solve this ? Thanks in advance. ;-) Joel