[Solved] function to fire on button [closed]


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

solved function to fire on button [closed]