Javascript - Regex, Element Access, Form Processing, Positioning




CS174

Chris Pollett

Apr 11, 2016

Outline

Pattern Matching

Pattern Special Characters

Slash Patterns

Yet more special characters

Pattern Modifiers

More Pattern Methods

Execution Environment

Document Object Model

Element Access in Javascript

More on Element Access

Events and Event Handling

More on Event Handling

Validating Forms

Quiz

Which of the following statements is true?

  1. When run in a browser processing a web page, the document object can add text to the page.
  2. Javascript uses the extends keyword to indicate class inheritance.
  3. When Javascript looks up a property of an object, it first checks the prototype property of that object before it looks up the property directly in the instance.

DOM 2

The Navigator Object

Element Positioning

Moving Elements

Element Visibility, Colors and Fonts