I am a attempting to run the below jQuery .on() method with the parameter value of 10 however whenever I do I get an
Uncaught TypeError
$(document).on("click", '.topic-btn', displayGIF(10));
It's my understanding that how it is written runs the function without a click event causing the error.
Is there a way around this? Ultimately, I want the .on("click"...
for a parameter value of 10 and a .on("dblcick"...
for a parameter value of 20.