Using jQuery

Problem is : I want to use jQuery for button.

But how ?

  1. install jQuery package.
  2. 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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s