- Specify the Web page of your website that you want to modify.
- Specify an event e that if it's triggered the Web page can be modified.
- Define an event listener function. By the argument of this function we have access to the current state s1 of the Web page.
- After execution of the event listener function, the state of the Web page will change to s2.
No comments:
Post a Comment