A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 11: Plug-in 83 - Get Ajax Request

GET requests are also supported via Ajax and they can achieve the same results as POST requests. The only main difference is that the data sent back to the server is passed in the tail of a URL, known as the query string, rather than in HTML headers.

The Figure shows the Amazon mobile home page being loaded into a <div>...</div> pair of tags using this plug-in.