-
Book Overview & Buying
-
Table Of Contents
PHP jQuery Cookbook
By :
If you are not aware of Firebug, you are missing a great web development tool. Firebug is an add-on for Firefox, which sits inside the browser and provides many tools to assist in web development. You can watch the document or HTML structure, the CSS styles applied to elements, debug JavaScript, and much more.
First of all install Firebug from its website http://getfirebug.com/. After installation it is ready to use in web pages. You can activate it by pressing F12 or by clicking a bug icon in the status bar.
Firebug has six buttons on the toolbar whose names and functions are described below.
Console: It shows the errors in your JavaScript in the form of friendly error messages with line numbers. Along with errors it also displays the AJAX requests. You can see the data sent with an AJAX request, request and response headers, and the response from the AJAX request itself.
You can also log your own variables in console. console.log() can be used to log data in the console.
Var...
Change the font size
Change margin width
Change background colour