Section 1.12. Showing Katie some Ajax magic


1.12. Showing Katie some Ajax magic

It'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!




Head Rush Ajax
Head Rush Ajax (Head First)
ISBN: 0596102259
EAN: 2147483647
Year: 2004
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net