[Solved] function to fire on button [closed]

[ad_1]

Use this code instead:

$(document).on("click", "#btnaddd", function() {
    alert("click");
});

If it still does not work then you might have used the same ID btnadd for two different elements and JQUERY only matches the first one.

2

[ad_2]

solved function to fire on button [closed]