Hello, I am trying to create a button function for my HomeController, and it works, however, the script immediately triggers on page load. I dont want it to trigger on page load, but instead, when the user presses the button. any idea of how to fix this?
Here's the script snippets.
http://hastebin.com/legemenoyu.coffee
Here's the script snippets.
http://hastebin.com/legemenoyu.coffee