There is an html code in which there are many divs with different classes. There are actions inside the divs, and you need to get a list of all the mouse clicks you need. (where onclick = my.action, ignoring the rest).
<div class="content clear_fix">
<div class="content _date">
<a class="wd_lnk" (...) </a>
</div>
<div class="reply_content">
<div class="content">
<div class="content_actions">
<div id="action-*(current string ID)*" data-title="Action" onclick="unnecessary.action(this, *(current string ID)*, (some unique ID));">
</div>
</div>
</div>
<div class="reply_content">
<div class="content">
<div class="content_actions">
<div id="action-*(current string ID)*" data-title="Action" onclick="my.action(this, *(current string ID)*, (some unique ID));">
</div>
</div>
</div>
<div class="reply_content">
<div class="content">
<div class="content_actions">
<div id="action-*(current string ID)*" data-title="Action" onclick="unnecessary.action2(this, *(current string ID)*, (some unique ID));">
</div>
</div>
</div>
<div class="reply_content">
<div class="content">
<div class="content_actions">
<div id="action-*(current string ID)*" data-title="Action" onclick="my.action2(this, *(current string ID)*, (some unique ID));">
</div>
</div>
</div>
</div>
</div>
How can I get a list of all onmouseclick actions in one place?
Smth like that, for example:
my.action(this, *(current string ID)*, (some unique ID));
my.action2(this, *(current string ID)*, (some unique ID));