function run four times in jquery
-
HI all,
I am not sure what the problem is, let me try to describe it.
there is a button call “calculate” in HTML file which mapped to below script.jQuery(document).ready(function( $ ){
var button = $(“#button1”)button.on(“click”, () => {
alert(“1”);
});});
After all codes published, I click the button, the alert message show 4 times.
Any idea?p.s. only the button of “calculate” function added
Thanks
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘function run four times in jquery’ is closed to new replies.