Getting started with the Form API and Ajax framework I'm really struggling to understand how to use Drupal 7's Form API in conjunction with its Ajax framework. I'd like to accomplish the following:

On certain pages, multiple nodes may appear. Each one of these nodes should have a comment form appear right below it. When the user submits a comment, it should be done via Ajax and the resulting comment should then appear under the node in question.

Can someone give me an overview of the steps that are required to do this?
There is a module for submitting forms with Ajax.


  Provides AJAX comments to Drupal sites. Features:  
  
  
  Makes AJAX submits
  Allows replies to comments on the actual thread page
  AJAX comments deleting
  Works with CAPTCHA
  Cool jQuery sliding