1.4. Ajax to the rescueDo you see what the problem is? Every time Katie wants to find out the latest number of boards sold, the entire screen is redrawn, and she's left with the Internet version of snow blindness. Didn't you say that Ajax will let me update the screen without all that reloading? Something about updating just part of the page? 1.4.1. Use Ajax to fix the web report...Let's change Katie's report to use Ajax to send the request for updated board sales. Then we can get the response from the server, and update the web page using JavaScript and dynamic HTML. No more page reloading, and Katie will be a happy snowboarder again. Maybe you'll even score a free board...
Answers on page 63. |