1.12. Showing Katie some Ajax magicIt's time to see what all this hard work has done for Katie's web report. Make sure you've added all the JavaScript we've talked about in this chapter, and double-check that the "Show Me the Money" button runs getBoardsSold(), instead of submitting the form. Then, load up boards.html in your web browser, and let's see what Ajax can do! Click on "Show Me the Money"... ...and there's no page reload. Perfect! Both the total boards sold and the cash Katie's made got updated. That's perfect! Check it out for yourself! |