Class 9 Reading
Forms
There are many types of forms you come in contact with everyday. The search bar in google or bing, the form to sign up for or sign into a website, pretty much every field you fill out or checkbox you check goes into a form to store the information.
forms come in many shapes and sizes.
- Text input
- Passwords input
- a large text area for messages.
- Radio buttons
- Checkboxes
- Drop down boxes
Events
from Javascript and Jquery by Jon Duckett on page 244
When you browse the web, your browser registers different types of events. It’s the browser’s way of saying, “ Hey, this just happened.” Your scripts can then respond to these events.
Events make a website more interactive for the end user by responding to the user and changing something on the page. The three steps to trigger an event.
- the element that the event responds to must be chosen.
- What type of event must be specified.
- you must tell what code is to be run when the event if triggered.