I have local library jquery
<script src="/js/jquery.js" type="text/javascript"></script>
i have ajax request
.post('/default/AjaxAsinc/addnew',{'new':$("#name").val()},function(data){
for(var i;i< data.length.i++)
{
}
},'json');
But it work only if connection to internet is active if connection is down
i see next exception
data is null
[Break on this error] for(var i=0;i<data.length;i++)
Any idea solve this problem ?
PS Browser Firefox not fetch any data from another site all data to responce is local