Here's my file:

  <html>
  <head>
    <script language="javascript" src="jquery.js"></script>

    <script language="javascript">
      $(document).ready(function() {
        $.getJSON("home.json", function(data){
          alert(data);
        });
      });
    </script>
  </head>
  <body>Err....</body>
  </html>

The "home.json" file loads just fine, but the callback is never
invoked, i.e. alert(data) never runs. It had been working fine, and
all of a sudden it just stopped working. So I stripped it down to just
what you see above, and it still doesn't work! What am I doing wrong?

Thanks,
Trans

Reply via email to