jQuery Multiple ID selectors

Rate this post

Today, We want to share with you jQuery Multiple ID selectors.In this post we will show you jquery select multiple elements with same class, hear for JQuery Selectors Examples to find elements in DOM we will give you demo and example for implement.In this post, we will learn about Multiple Selector (“selector1, selector2, selectorN”) with an example.

jQuery Multiple ID selectors

There are the Following The simple About jQuery Multiple ID selectors Full Information With Example and source code.

Read Also:  How to Get Yii last inserted ID from database

As I will cover this Post with live Working example to develop jQuery multiple elements Selector, so the jquery multiple ids same function for this example is following below.

jquery multiple id selectors on click


Free Live Chat for Any Issue


      <title>The Selecter Example</title>
      <script type = "text/javascript" 
         src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">
      <script type = "text/javascript" language = "javascript">
         $(document).ready(function() {
            $(".big, #div3").css("background-color", "green");
      <div class = "big" id = "div1">
         <h1>This is first division of the DOM.</h1>

      <div class = "medium" id = "div2">
         <h2>This is second division of the DOM.</h2>

      <div class = "small" id = "div3">
         <h3>This is third division of the DOM</h3>

Web Programming Tutorials Example with Demo

Read :

Read Also:  Back to Top Button using jQuery and CSS - Scroll to Top Example


You can also read about AngularJS, ASP.NET, VueJs, PHP.


I hope you get an idea about jQuery Multiple ID selectors.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.