![]() Intro |
![]() Sweet Home Country Grammer by Mei-Lwun |
![]() Flash through Assignment #2 |
![]() Go over questions about Assignment #3. |
![]() Accessing CSS with Javascript and DOM |
![]() There is a slight difference between accessing DOM style parameters than there is in defining CSS. |
![]() The syntax is slightly different |
![]() for example text-align -> textAlign |
![]() example_00 |
![]() Changing float style with Javascripot |
![]() XMLHttpRequestObject |
![]() Background HTTP is a request/response protocol |
![]() response is text of some sort. XML, raw text, etc. |
![]() show Universal code snippet (example_01.html) |
![]() sendRequest sets the request in motion and returns control immediately while we do other stuff. |
![]() callback function is the heart of event-driven U/Is |
![]() examples are window.onload |
![]() req.onreadystatechange |
![]() var READY_STATE_UNINITIALIZED = 0;var READY_STATE_LOADING = 1; var READY_STATE_LOADED = 2; var READY_STATE_INTERACTIVE = 3; var READY_STATE_COMPLETE = 4; |
![]() Loading HTML with AJAX calls |