Advertisement
academo

Untitled

Dec 10th, 2011
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None
  1. function buildTimeLine(data){
  2. var html = ''
  3. var nt = 0;
  4. var tweets = data.results;
  5. while(nt < 10){
  6. html += "<div class='tweet_content'>"+ tweets[nt]['from_user_name'] +": "+ tweets[nt]['text'] +"</div>";
  7. nt ++;
  8. }
  9. $('#twitter_time').html(html);
  10. }
  11.  
Advertisement
RAW Paste Data Copied
Advertisement