How about just removing the empty <tr></tr> and use something like the
following for your insert row after your AJAX response:

$("#groups").append('<tr id="group'+data.id+'"><td>....</td></tr>');

On Jul 13, 1:00 pm, Nate <nathanle...@gmail.com> wrote:
> Also, James, each table row has a unique id.  it will be called
> something like id="group34" or id="group35" - no two are the same.
> It's info that is related to the ID of the database.
>
> So when my jQuery posts to addgroup.php, it inserts the data into the
> database, and then I use the mysql_inser_id() function to retrieve the
> ID of the entry I just made.  I then return that data to the main
> page, and I simply want to stick it below all of the data that was
> generated by PHP.
>
> To give you an idea - here is a screen capture of it in action, and
> some of the issues along with it:
>
> http://www.nathanledet.com/removingdata_jquery.mov

Reply via email to