<div id=Apple1>
<div id=Round></div>
</div>
<div id=Apple2>
<div id=Round></div>
</div>
<div id=Apple3>
<div id=Round></div>
</div>
<div id=Apple4>
<div id=Round></div>
</div>
<div id=Apple5>
<div id=Round></div>
</div>
$("#Apple1 #Round")
$("#Apple2 #Round")
$("#Apple3 #Round")
Basically i have multiple div different wrapper div id and same inner div id.
can i use jquery this way to uniquely identify div tag?
idby definition should be already unique, I’ll go as far as saying it’s invalid to have more than one of the sameidin a HTML page.You can use class if you want:
Then