access javascript variable outside scope
<p>I have </p>

<pre><code>jQuery(document).ready(function() 
{

    jQuery.get('data/php/traces_pos.csv', function(data) { var routes = jQuery.csv()(data); });

//if I use here 

for (i=0;i&lt;=routes.length;i++){}

// javascript says route undefined

}
</code></pre>

<p>How do I access the routes which is a array of arrays</p>
