cant access var outside jquery
<pre><code>var = msg
$.get('json-signup-erros.php',{},function(data){msg=data},'json');

function focushint()
{
   alert (msg) // this works
}
$("input").focus(focus);

 alert(msg) //this doesnot work
</code></pre>

<p>can anyone tall me way??</p>
