In my web site (hosted here), I have a JSON string that I'm unable to parse in HTML using this function:
<script>
 function check(){
      var url="https://www.cs.bgu.ac.il/~elii/j.json";
      $.get(url)
    // If the AJAX call was successful, let's process that data!
    .done( function(data) {
        alert("success");
        }) 
        .fail( function() {
      alert("Sorry, something went wrong!")
      });
    }
 </script>
However, if I change the URL to be
http://www.omdbapi.com/?t=homeland&y=&plot=short&r=json
the function succeeds even though it has the same content as my website.
Can someone tell me why this happens?
 
    