Json hosted online and should be accessed by a link:
   {
response: "yes"
}
Getting Json on a device:
 <script
  src="https://code.jquery.com/jquery-3.1.1.min.js"
  integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
  crossorigin="anonymous"></script> 
 <script>  $(document).ready(function () {
                      var url = 'link is here';
                      $.getJSON(url, function (data) {
                                alert(data.response);
                                });
                      });</script>
Shows nothing. Please advice.
 
     
    