On Jul 19, 2007, at 8:50 AM, Aparajita Fishman wrote:

The problem is most likely in your Javascript code. To add a row to a table with prototype, you would do something like this:

// 1. make your Ajax request
// 2. Active4D code builds a complete table row (<tr><td>content</ td></tr>)
// 3. in your Ajax onSuccess callback, do this:

onSuccess: function(request)
{
   new Insertion.Bottom($('mytable'), request.responseText);
}

Thank you!

Works like a charm. Guess I need to read the Prototype documentation. Didn't see that in any of the examples I saw after a Google.

Steve Alex
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to