結果 : how to return value from ajax function in javascript