I have a script which uses file_get_contents and I then decode the returned JSON...
$urlone = json_decode(file_get_contents("http://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=false&screen_name=".$screen_name."&count=".$tweet_count."&page=1"),true);
What I would like to achieve is a callback so I can have a nice loader and then animate contents in when complete. Is there a way to use JQuery to do an AJAX call if Javascript is enable and fallback to the default PHP if it is disabled?