Skip to content Skip to sidebar Skip to footer

Adding New Row In Dynamic Form Yii2, In New Row, Js Is Not Work

I have a case to manage a dynamic input in yii2. So I choose this extension : wbraganca This is my code : 'dynamic-form']); ?> <

Solution 1:

Newly added DOM element is not bound and this is why it's not working. Change JS to

$("body").on("change", ".item_id", function () {

Post a Comment for "Adding New Row In Dynamic Form Yii2, In New Row, Js Is Not Work"