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.
- <!DOCTYPE html>
- <html>
- <head>
- <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
- <script>
- $(document).ready(function () {
- alert('before getJSON');
- $.getJSON('http://localhost:8080/example.json', function(data) {
- alert('pass');
- });
- });
- </script>
- </head>
- <body>
- </body>
- </html>