Client Side
4/3/26Less than 1 minute
Client Side
- JavaScript
- DOM
- Dynamic requests
- AJAX
JavaScript
The Document Object Model
- The DOM is an interface that scripts can use to interact with the page they are loaded on
- ■ Examples: Read data from forms, replace parts of the page
- ■ Can register event handlers with DOM elements to respond to clicks, keypresses, mouse movements, selections...
- ■ The DOM has evolved considerably over the years
- ■ Several different “levels”, lots and lots of functions
- ■ Directly interacting with the DOM can be somewhat painful
- ■ But libraries can make this more convenient (e.g., jQuery)
