TableRow.MoveAfter

Guest wrote:

I'm trying to use Ajax to update a table row, and it doesn't work
properly. So, I checked out the AjaxScaffold, and he's using:

  page << "new TableRow.MoveAfter('some_id', 'some_other_id');"

But I'm getting a TableRow element not defined error in an alert box in
my code. I've included all the JS defaults in my layout. Not sure why I
can't use TableRow.MoveAfter.

The TableRow object is a custom part of AjaxScaffold. You could
rip out and include the ajax_scaffold.js file from this package,
but the latest Prototype SVN seems to have support for cross-browser
table manipulation.