title: jQuery: getJSON request not working
body: <p>I am trying to access data using getJSON function of jquery but not able to succeed.</p>
  
  <p>This is my js file:</p>
  
  <pre><code>$(document).ready(function(){
    $("button").click(function(){
  
      $.getJSON( "https://www.bitstamp.net/api/eur_usd/", function( data ) {
      alert(data);
      });
    });
  });
  </code></pre>
  
  <p>Can anyone help me in getting this work?</p>
  
  <p>Will really appreciate. </p>