I want to simulate a onclick function on all images in a page.
the problem is each img has a unique onclick call and also the img does not have an ID or class.
Each img is within a div:
<div id="339949822">
<img src="button.png" onclick="addUser('339949822');">
</div>
With jquery: