How to set a function's return value to the json response of its ajax call?
<p>I'm struggling in setting a function's return value to the json response of its ajax call.</p>

<pre><code>function callMe() {    
    $.ajax({
        url: "someJson.php",
        type: "GET",
        dataType: 'json',              
        success: function(response){
            return response;
    }
}

 var jsonResponse = callMe();
</code></pre>

<p>How get I get jsonReponse to the hold the json response?</p>
