Javascript examples for jQuery Method and Property:jQuery Method Example
get the twitter status updates from jQuery
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.4.2.js"></script> <script type="text/javascript"> $(window).load(function(){/* www . jav a2 s.c om*/ $(function(){ $.getJSON('http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter&callback=?', function(data) { console.log('got the result '+data); }); }); }); </script> </head> <body> </body> </html>