Callback function doesn't work when using getJSON
        Posted  
        
            by asilloo
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by asilloo
        
        
        
        Published on 2010-05-14T22:57:14Z
        Indexed on 
            2010/05/14
            23:04 UTC
        
        
        Read the original article
        Hit count: 293
        
Hi,
This is the code that I am using, When I write the link into the browser (I.E. or Mozilla) it is working like (MyFunc({"memes":[{"source":"http://www.knall......), but when I try to run it as HTML file I have a error in status Bar. what is the problem?. Thanks
<head>
  <style>img{ height: 100px; float: left; }</style>
  <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
    <div id="images"></div>
<script>$.getJSON("http://tagthe.net/api/?url=http://www.knallgrau.at/en&view=json&callback=MyFunc",function(data){         
               alert(data);
        });
</script>
</body>
© Stack Overflow or respective owner