eg-259:review:js_html2
JavaScript and HTML Documents: Part 2
Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: Contact Hour 13.
- What is the disadvantage of assigning event handlers to event properties?
- What are the advantages of assigning event handlers to event properties?
- Why is it good to use JavaScript to check the validity of form inputs before the form data is sent to the server?
- What three things should be done when a form input element is found to have incorrectly formatted data?
- What exactly does the
focus
function do? - What exactly does the
select
function do? - What happens when an event handler for the
onsubmit
event returnsfalse
? - What event is used to trigger an event handler that checks the validity of input for a text button in a form?
- What event propagation takes place in the DOM 0 event model?
- Explain the three phases of event processing in the DOM 2 event model.
- Give two examples of default actions of events.
- Explain the first two parameters of the
addEventListener
method. - How is an event handler registered so that it will he called during the capturing phase?
- How can an event handler be unregistered?
- What exactly do the
clientX
andclientY
properties store? - What purpose does the
navigator
object have?
eg-259/review/js_html2.txt · Last modified: 2012/02/17 15:58 by eechris