Posts by user241880 • 41 points
1 post
-
4
votes1
answer29
viewsA: button is triggered without me clicking - jquery
The method on jquery expects a function of callback as second parameter, but you are not passing a function, you are calling the function and passing its return. You can fix this by declaring a…