Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

jQuery Tutorial - How to modify multiple HTML elements in one line

jQuery allows you to Modify multiples elements in one go, you can modify attributes, text, or color of Multiple Html Elements by executing just one line of jQuery code. In this jQuery tutorial, I will show you how to modify multiple
  • elements in one go. In our example, we have a couple of
  • tag to display sub-headings, now we will change them in one go using jQuery. If you look at our HTML, we have an ordered list
      to display top 10 programming languages, each of them is a
    1. item. We also have one button, "Click Me", which will when clicked, changes all
    2. item's text to "jQuery is the new Boss". Here is the jQuery code, which does that.
    3. Read more »


      This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here

      Share the post

      jQuery Tutorial - How to modify multiple HTML elements in one line

      ×

      Subscribe to Javarevisited: Blog About Java Programmin

      Get updates delivered right to your inbox!

      Thank you for your subscription

      ×