$.ajax() will execute the returned JavaScript, calling the JSONP callback function, before passing the JSON object contained in the response to the $.ajax() success handler. success ではいきなり o.data1 のようにしてデータを取得しています。これは JSON 文字列を jQuery が既に評価してから success に渡しているから可能なのです。 jQuery AJAX 関連記事. It is very possible to define your callback outside the sucess: i.e. This is known as hoisting. At the moment I have to... Is it wrong to place the