Jquery – Check if textbox exist in table cell or not
Here is my code: var result = ''; var rows = $("#table_wf tbody tr input[type='checkbox']:checked").closest('tr'); for (var i = 0; i < rows.length; i++) { var row = rows[i] result += rows[i].cells[0].innerHTML; var v = rows[i].cells.find("td input[type=text]"); if (rows[i].cells.find("input[type=text]").length) {…