All that can be done through an XMLHttpRequest (AJAX) call. What have you tried so far? Are you a complete neophyte when it comes to using XHR? What JS experience do you have? Ever use any frameworks like jQuery or Prototype?
To start off, I should suggest Mootools SOCK. But jQuery helped me out a bit and I've learned a lot from it as well, so the choice is up to you crazyryan. I suggest you start off building up some knowledge about AJAX/JS before you bite off more than you can chew.