Storing array inside closure
Okay, your question is very ambiguous, but I'll give it a shot. First, is seems like you're confused about what a closure is. A closure is simply accessing a variable that was not defined inside that function.

For instance, in:

function foo () {
    var bar = 9;
    function bla () {
        return bar;
    }
}


bar can be accessed because of closure. Read this if you still have questions about that.

Now regarding your use case, it seems like what you want is a cache. You don't want to go to the server every time to get the same information, you want the user to get information that has already been requested. That's the use case of a cache.

This is how you create a cache in JavaScript:

var cache = {};


Now you need a way to index your data. Since it seems like you get it from a db, you'll have an ID available, index it by that. So your app will look something like:

$.ajax(....).done(function (data) {
    // Cache your data
    cache[data.id] = data;
});


Now before every db request you can check if the data is in the cache or not. If it is you can use the copy in the cache, if not issue the request to the server.