[jQuery] Re: Changing the ID of a cloned table row

2009-03-24 Thread rivkadr
> Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Mar 24, 2009, at 1:37 AM, rivkadr wrote: > > > > > I don't know why I need true in the function. I just copied the code > > from elsewhere ;) I am NOT a jquery (this is my first time using it

[jQuery] Re: Changing the ID of a cloned table row

2009-03-23 Thread rivkadr
tion and it seemed to work   > fine for me: > > http://jsbin.com/ideju/edit > > Does that work for you? > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Mar 23, 2009, at 10:11 PM, rivkadr wrote: > > > > > Am getting bloody from beating

[jQuery] Changing the ID of a cloned table row

2009-03-23 Thread rivkadr
Am getting bloody from beating my head against the wall. I just want to be able to change the id of a table row that is cloned and appended to a table. This shouldn't be so hard, no? Here's what I've tried: function addTableRow(table) { var clonedRow = jQuery(table + " tr:last").clone().