IFSC 3300
Ajax Study Exercises
1. Consider the first "Try It Yourself" example in the "AJAX Intro" lesson. Provide comments for each line in the <script>.
2. Consider the first "Try It Yourself" example in the "AJAX Intro" lesson. Change the code snippet
if (this.readyState == 4 && this.status == 200)
to use 2 instead of 4. What happens? Why?
3. Consider the first "Try It Yourself" example in the "AJAX Intro" lesson. If you delete the code snippet
if (this.readyState == 4 && this.status == 200)
what happens? Why?