Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PHP Ajax Cookbook
  • Table Of Contents Toc
PHP Ajax Cookbook

PHP Ajax Cookbook

4 (5)
close
close
PHP Ajax Cookbook

PHP Ajax Cookbook

4 (5)

Overview of this book

Table of Contents (16 chapters)
close
close
PHP Ajax Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1
Index

Chapter 5. Debugging and Troubleshooting

In this chapter, we will cover the following topics:

  • Debugging with Firebug and FirePHP

  • Debugging with the IE developer toolbar

  • Avoiding the framework $ conflict

  • Using the Anonymous function of JavaScript

  • Fixing memory leaks in JavaScript

  • Fixing Memory leaks

  • Sequencing Ajax requests

Debugging and troubleshooting can be a big hassle for you if you don't know how to do this effectively when you use Ajax. In this chapter, we will be learning about a few tools and techniques to debug and troubleshoot Ajax applications.

First of all, we will be looking at the awesome tools built for the Mozilla Firefox browser—Firebug, and FirePHP. These two tools are probably the most popular for debugging Ajax requests and responses. In the next section, we will be looking at another important but less sophisticated tool for Internet Explorer—the IE developer toolbar.

After that, we will be looking at a technique to avoid the common dollar ($) conflict between frameworks such...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PHP Ajax Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon