I have 5 images, 3 of them have the same class
being displayed in div
A.
<div id='A'>
<img src="https://sites.google.com/site/mplayerplugin/thumbnails/09.jpg"class="figura" />
<img src="https://sites.google.com/site/mplayerplugin/thumbnails/10.jpg"class="foto" />
<img src="https://sites.google.com/site/mplayerplugin/thumbnails/11.jpg"class="foto" />
<img src="https://sites.google.com/site/mplayerplugin/thumbnails/12.jpg"class="foto" />
<img src="https://sites.google.com/site/mplayerplugin/thumbnails/13.jpg"class="figura" />
</div>
<div id='B'>
...
</div>
Based on this logic, I want to create a script with if
condition to compare class='foto'
. If the occurrences are identical, then show also in div
B.