How can i simulate a click in this element?
<a href="javascript:;" onclick="ExecutarLance('59272');" title="ExecutarLance" class="btn btn-custom3">LANCE</a>
Normally I simulate clicks using the id (document.getElementById("id");
or the class
, but this element does not have an id
and the class
indicated is the same for several elements on the page.
In this case, this element is a button and the only specific attribute of it is the onclick
.
I just want to simulate the click on this button.
Is it possible to simulate the click using the onclick
as a reference?