I have a strange situation with jquery ajax callback
var isOk = false;
CheckStoreAvailability(store, function (result) {
isOk = result;
alert(result); >> show message true
});
alert(isOk );
it always show false no mater what return value in CheckStoreAvailability assigns to the isOk !!
i'm stucked now. Pls help me.
Thanks.