[jQuery] Re: Clone and Replace

2009-07-13 Thread Nate
Thanks a lot for the help James. I'll give that a shot. I am re- tooling this little application and I'm beginning to think I may not need tables at all. I'll keep you posted. Thanks again On Jul 13, 8:24 pm, James wrote: > I think there's some issues with fadeIn/fadeOut for . > Try something

[jQuery] Re: Clone and Replace

2009-07-13 Thread James
I think there's some issues with fadeIn/fadeOut for . Try something like the following: var html = 'hello'; $('#groups').append(html).find("td").fadeIn("fast"); The class "hide" on the is style with display:none; Add this to all your if you have more than one. On Jul 13, 2:05 pm, Nate wrote:

[jQuery] Re: Clone and Replace

2009-07-13 Thread Nate
LOL - I swear I thought of almost the exact same thing when I went out and took a drive...it's amazing what time away from the computer does...and of course, a little help. Now I seem to be missing something (yeah, I am new to jQuery...) I still want that table row to fade in...but neither metho

[jQuery] Re: Clone and Replace

2009-07-13 Thread James
How about just removing the empty and use something like the following for your insert row after your AJAX response: $("#groups").append(''); On Jul 13, 1:00 pm, Nate wrote: > Also, James, each table row has a unique id.  it will be called > something like id="group34" or id="group35" - no

[jQuery] Re: Clone and Replace

2009-07-13 Thread Nate
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

[jQuery] Re: Clone and Replace

2009-07-13 Thread Nathan Ledet
Here is the PHP code that generates the entire table, plus the empty table row.

[jQuery] Re: Clone and Replace

2009-07-13 Thread James
I don't see anywhere in the code where you're setting an ID to the . And if you're cloning an existing that has an ID, that may cause issues because IDs are suppose to be unique on a page. Is there any reason you're cloning an existing instead of just appending it in with all the other content?