JSON Cross domaine issue

JSON Cross domaine issue

I have a problem with the getJSON call. I am using the new version of both jQuery and jQueryMobile:
jquery-1.9.1.min.js
jquery.mobile-1.3.0.min.js

In this example i use only jQuery but still doesn't work. Only the first alert shows.

  1. <!DOCTYPE html>
  2. <html>
  3.       <head>
  4.       <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  5.       <script>
  6.       $(document).ready(function () {
  7.             alert('before getJSON');
  8.             $.getJSON('http://localhost:8080/example.json', function(data) {
  9.             alert('pass');
  10.             });
  11.       });
  12.       </script>
  13.       </head>
  14.       <body>
  15.       </body>
  16. </html>