Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

use two div id in jquery

<script>
  $(function() {
    $("#segement1,#segement2,#segement3").hide()
  });
</script>

<div id="segement1"></div>
<div id="segement2"></div>
<div id="segement3"></div>
Comment

multiple elements with same id jquery

<div id="x1">A</div>
<div id="x1">B</div>
<div id="x2">C</div>

<script>
	console.log($('[id="x1"]'));
</script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: ejs layout 
Javascript :: javascript save as pdf 
Javascript :: js bind prototype arrow function 
Javascript :: merge binary tree 
Javascript :: angular component 
Javascript :: js new array 
Javascript :: jest always pass async await 
Javascript :: react without using jsx create element 
Javascript :: javascript force view to focus on a div 
Javascript :: d-block d-none js 
Javascript :: hot to start cypress 
Javascript :: check a letter in astring js 
Javascript :: how to lose overflow in js without hidden 
Javascript :: JavaScript Destructuring - From ES6 
Javascript :: sequelize 
Javascript :: javaScript get() Method 
Javascript :: initialize firebase app 
Javascript :: if condition javascript 
Javascript :: react-chartjs-2 
Javascript :: gps nodejs 
Javascript :: how to delete an exact element of array 
Javascript :: limit number in javascript 
Javascript :: indexof javascript 
Javascript :: hydration in next js 
Javascript :: empty javascript 
Javascript :: map function in js 
Javascript :: reisze image expo react native 
Javascript :: npm fund 
Javascript :: UnhandledPromiseRejectionWarning 
Javascript :: skip map iteration javascript 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =