jQuery toggleClass example
Toggle class name on click in jQuery
by Qwerty_Wasd
HTML
<table id="products" class="table" border="0">
<tr>
<td>
<input type="text" class="new_p">
</td>
</tr>
</table>
JavaScript
setTimeout(() => $.parseHTML($('#products > tbody:last'),
'<tr><td><input type="text" class="new_p"></td></tr>'), 5000);
$('.new_p').unbind('keyup').keyup(function() {
console.log(`!!!`);
});