Answers for "use two div id in jquery"

2

select multiple id in jquery

$("#upload_link,#upload_link2,#upload_link3").upload(function(){ });
Posted by: Guest on September-11-2020
0

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>
Posted by: Guest on March-19-2021
0

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>
Posted by: Guest on October-21-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language