jQuery – Calling function with parameters inside .on() method

I’m trying to call a function in the .on() method with a parameter but it doesn’t seem to work. Many thanks!

$(".column0").on("click", fillBoard(0))

39 thoughts on “jQuery – Calling function with parameters inside .on() method”

Leave a Comment