これが私の Ajax 関数の一部です。私が理解できない何らかの理由で、私はalert() responseText を返すことはできますが、responseText を返すことはできません。誰でも助けることができますか?その値を別の関数で使用する必要があります。
http.onreadystatechange = function(){
if( http.readyState == 4 && http.status == 200 ){
return http.responseText;
}
}