javascript - JSON request not working -


so trying data http://pubapi.cryptsy.com/api.php?method=singleorderdata&marketid=132 doesn't seem responding.

the code simple:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>  <script type="text/javascript"> $.getjson('http://pubapi.cryptsy.com/api.php?method=singleorderdata&marketid=132', function(data){ alert(data.return.doge.sellorders[0].price); }); </script> 

however when try exact same code http://jsbin.com/pudoki/1.json, has exact same content previous url works.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>  <script type="text/javascript"> $.getjson('http://jsbin.com/pudoki/1.json', function(data){ alert(data.return.doge.sellorders[0].price); }); </script> 

does have idea why? permissions issue? page first code snippet on (non-working one) appears white no alert/pop-up.

thanks!


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -