Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 6

Preface

1: Getting Started
2: Selectors—How to Get Anything You Want
3: Events—How to Pull the Trigger
4: Effects—How to Add Flair to Your Actions
5: DOM Manipulation—How to Change Your Page on Command
6: AJAX—How to Make Your Site Buzzword-Compliant
7: Table Manipulation Free Chapter
8:
Forms with Function  
9: Shufflers and Rotators
10:
Plug-ins

Appendix A: Online Resources

Appendix B: Development Tools
Appendix C: JavaScript Closures

Index

Latest Updates

Free Chapter:
Chapter 7: Table Manipulation [1.31 MB PDF]

Contact us

Chapter 6: AJAX—How to Make Your Site Buzzword-Compliant

Life's a bee without a buzz
It's going great till you get stung
    —Devo, "That's Good"

AJAX was the name of a great Greek warrior (actually, two Greek warriors) whose adventures were chronicled in Homer's epic, The Iliad. The term was later re-coined as the name of a household cleanser. It was then re-re-coined as a label for a group of web technologies.

Chapter 6: AJAX—How to Make Your Site Buzzword-Compliant

  • Loading Data on Demand
    • Appending HTML
    • Working with JavaScript Objects
      • Retrieving a JavaScript Object
      • Global jQuery Functions
      • Executing a Script
    • Loading an XML Document
  • Choosing a Data Format
  • Passing Data to the Server
    • Performing a GET Request
    • Performing a POST Request
    • Serializing a Form
  • Keeping an Eye on the Request
  • AJAX and Events
    • Scoping an Event-Binding Function
    • Using Event Bubbling
  • Security Limitations
  • Summary

 

   

 

Paperback 380 pages
Released: July 2007
ISBN: 1847192505
ISBN 13:
978-1-847192-50-9

     

 




View the book details
on PacktPub.com

 


 
  This website is owned and maintained by Packt Publishing Ltd, 2007. All rights reserved. Terms and Conditions