Global Variables

While a page is loaded, certain events can happen many times.
This example explores the concept of using global variables to keep track of user events.

Click me as many times as you want

After clicking the link above a few times, click the link below.

See Total Click Count that's stored in the global variable