can jquery $.getJSON's JSON data be assignable to other variable?
<p>I'm using jQuery $.getJSON(..) to get some json.</p>

<p>The passed value shows me <strong>"undefined"</strong>.</p>

<p>Is there a way to do that?</p>

<pre><code>getTopMenuJson : function(currentPage) {
    if(currentPage == null) currentPage = 1;

    var retJSON;

    $.getJSON(
            requestURLs.topMenuJson, 
            {
                'ITEM_PER_PAGE' : TopMenuHandler.ITEM_PER_PAGE,
                'CURRENT_PAGE' : currentPage
            },
            function(JSON) {
                //alert(JSON); **&lt;--This gives me result (Object)**
                retJSON = JSON;
            }
    );

    **alert(retJSON); //&lt;!-- This doesn't, but Undefined**
},
</code></pre>
