Problem is : I want to use jQuery for button.
But how ?
- install jQuery package.
- using the following ways:
Here is my first_page.js, and <button> is in my first_page.html(very simple code, no need to show).
In this photo, there are 2 ways, one way is “rendered”, another way is in comment, “events”.
Conclusion: we need to change the format a little bit. we cannot use original jQuery format.
By the way, this first_page.html is not template, so i am using body, instead if templatename behind Template.