Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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>
Source by jsfiddle.net #
 
PREVIOUS NEXT
Tagged: #multiple #elements #id #jquery
ADD COMMENT
Topic
Name
4+6 =