mardi 20 décembre 2016

Copy row from tfoot to tbody with $(row).html jquery

i need to make dynamically Insert in my table

when i call for example $(row).html all html elements values are staying 0 can't get modified cells this my code , if any body have solution help me thanks in advanced

$(row).find('td').each(function(index, item) {
    var cuVal = $(item).find('input').val();
    var id = $(item).find('input').attr('id');
    if (cuVal == undefined)
        return;
    $(item).find('input#' + id).val(cuVal);
});




Aucun commentaire:

Enregistrer un commentaire