Week 5 Review Flashcards
Review week 5 readings
Events
used to make a web page interactive
3 Key events are
keypress, keydown, and keyup
2-page events are
load and beforeunload
An event propagates
up the tree
the method called to prevent and events default behavior
preventDefault()
Lets users input data through a web page
form
two types of text zones for input
input type=”text” or
checkboxes, radio buttons and dropdowns generate
change events
Dom element that lets you access the input fields on forms
elements
Submitting a form triggers
a submit event
modification of a text field triggers
an input event
a regular expression is used to
validate form data
a function that kicks off a repeated action
setInterval()
a function that stops a repeated action
clearInterval()
a function that executes and action once after a delay
setTimeout()