Use FireBug to make JQuery learning easier and more enjoyable

Source: Internet
Author: User

FireBug is the most powerful debugging plug-in FireFox. using it can make JQuery's learning process easier and more pleasant. This article is a video I watched from a foreign site. After some simple practices, I found that doing so can indeed improve a lot of efficiency. This method is described as follows:

Prerequisites:

Install firefox + firebug

Here, my blog is used as an example:

The basic usage is as follows:

OK. Let's proceed to the question:

Taking the above image as an example, we can see that all the headers of the blog Park name the class postTitle. Below we use jQuery to hide the title on the page:

Of course, we can also add events to the page elements:

 

Summary

We briefly mentioned the simple application of firebug in debugging jQuery. Using this method, we can get the following benefits:

1. You do not need to modify a js Code to re-open the editor and debug it, saving time.

2. You can view the elements affected by jquery operations to make it easier to learn jQuery and debug it.

3. If someone is standing next to you, it looks more professional in this way-.-(well, I admit, this is what I did. The first humorous New Year ^_^)

I hope this article will help you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.