92
rated 0 times
[
95]
[
3]
/ answers: 1 / hits: 17625
/ 12 Years ago, thu, june 21, 2012, 12:00:00
This is my second question about clicking buttons in JavaScript but this one I'm really stuk on: I'm trying to click an image button with javascript however there's not much to go on as the source only gives this information about the image button
<div id=claimBtnDv style=bottom:-30px; position:absolute; right:0; margin-top:0;>
<input type=image class=btnClaim src=websitebuttonimage onclick=alert('buttonclicked');>
</div>
I tried to do document.getElementById('claimBtnDv').click()
but no success , are there other methods to use?
More From » image