I have done something similar to this before, and I know this is really close. I\'m just trying to make it so that my button increments the javascript variable, and the func
Click the button to trigger a function. Click me
Click the button to trigger a function.
This should work for you :) Yes var should be used