1<div id="x1">A</div>
2<div id="x1">B</div>
3<div id="x2">C</div>
4
5<script>
6 console.log($('[id="x1"]'));
7</script>
1<script>
2 $(function() {
3 $("#segement1,#segement2,#segement3").hide()
4 });
5</script>
6
7<div id="segement1"></div>
8<div id="segement2"></div>
9<div id="segement3"></div>