Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateSong(){
- var http = createRequestObject();
- http.open('GET', url);
- http.onreadystatechange = handleResponse;
- http.send(null);
- }
- updateSong();
- setInterval(updateSong,30 * 1000);
Add Comment
Please, Sign In to add comment