I tried using document.getElementsByName but that didn't work for me. I'm trying to click a button, but I can't use document.getElementById because it does not have an id.
This is the button:
<div id="ApplyButton">
<br>
<br>
<input class="submitBtn" onclick="{ _onclick_1(arguments[0]);}" type="button" value="Apply">
</div>