[jQuery] Re: send table with input elements to server

2009-07-13 Thread Charlie
still not sure if this is 2 tables and exactly what you are trying to do, david wrote: Dear Charlie, I mean if i have a table and then i enter in a david and b michael i want at the end The same i want also for selected. Is there a way to make it ? Thanks, David On Jul 13,

[jQuery] Re: send table with input elements to server

2009-07-12 Thread david
Dear Charlie, I mean if i have a table and then i enter in a david and b michael i want at the end The same i want also for selected. Is there a way to make it ? Thanks, David On Jul 13, 12:02 am, Charlie wrote: > I think I confused myself and not sure what objective isoh well

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
I think I confused myself and not sure what objective isoh well, was good practice Charlie wrote: After rereading this,  if tables are same size and  same config;  the following clones the existing table and strips out all inputs inserting the values as text in new table $("#

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
After rereading this,  if tables are same size and  same config;  the following clones the existing table and strips out all inputs inserting the values as text in new table $("#originalTable").clone(function () {        $("#originalTable").clone().appendTo("body").attr("id","newTable");

[jQuery] Re: send table with input elements to server

2009-07-12 Thread Charlie
this isn't exactly clear but sounds like you are taking input values and want them as straight text in a of the new table? how you go about this will depend a lot on the size and structure you have for markup as well as how much of original goes into new table. Could be as simple as clone()