I am trying to get the value of the id
in html using jquery but not able to get that value
<div id="tar">...</div>
<div id="tar" class="helper">...</div>
the script is here
<script>
console.log(($('#tar').html());
console.log(($('#tar'));
</script>
thank you in advance!