I have a dynamically generated table, and I want to put input
inside every td
. I can get the id of tr
, so I do:
$("#id").children().html("<input type='text' value='" + valor + "' />");
So it puts a input
within each td
of that tr
, but I do not want it to put input
in the last td
, how can I do that?