How to push content into array from .load() jQuery
<pre><code>$('#tabPublish').click(function(){

        $('#columnRight').load('/pages/publish/');

        tabArray.push({'linkId': 'tabPublish', 'id': 'columnRight','url': '/pages/publish/',});

        return false;

});
</code></pre>

<p>I'm trying to push loaded content into an array as as string, but i cant seem to get past this point. I'm trying to do it so when the user clicks a previously loaded tab the code doesnt carry out a .load() again, it just grabs it from the array!</p>
