Form_remote_tag and tables

Hi,

I was following the tutorial at Radar – O’Reilly
2005/06/09/rails_ajax.html and I’ve stumbled on a problem. Instead of
using a

    tag like the tutorial for the list, I tried using a

    tag. The problem I'm seeing is that the new item is rendered on top of the first item. The existing items are not shifted down as in the
      case. Is this normal behavior for tables? Here's what I'm doing:

      VIEW:
      <%= form_remote_tag(:update => “receipt_list”,
      :url => { :action => :add_receipt },
      :position => “top” ) %>

      <%= end_form_tag %>

    ...

    CONTROLLER:

    def add_receipt

    render :text => “”…“”
    end

    If anyone knows what’s going on, I’d appreciate some help.

    Thanks,

    -Oscar


    pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1


    pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1