drupal ahah not working
Can you post the callback function generating the page at 'ri_email/ajax'?

It should look something like this:

&lt;?php
  function awesome_ahah_callback() {
    $thing_to_process = $_POST['thingfromform']
    /* do stuff, including generating some kind of $processed_data variable */

    drupal_json(array(
      'status' =&gt; TRUE, 
      'data' =&gt; $processed_data,
    ));
    exit();
  }
?&gt;


If you aren't generating the thing you want to send back through AHAH with drupal_json and then calling exit() then I don't think it will work.