Jump to content
Sign in to follow this  
rietrivaldo

IE buttonclick not working on this javascript button - (Locked)

Recommended Posts

rietrivaldo

the button code:

 

<form action="/wildbattle/" method="post" id="itemForm" name="itemForm" onsubmit="get('/wildbattle/', '', this); disableSubmitButton(this); return false;">
<td style="text-align:center; padding-top:5px;">
<input type="hidden" name="action" value="use_item">
<input type="hidden" name="active_pokemon" value="1">
<input class="button-maroon button-small" name="items" type="submit" value="Use Item">
</td>
</tr>
</tbody></table>
</form>

 

This code succesfully returns the button

 

$oBtn1 = _IEGetObjByName($oIE, "items")

 

this code won't click the button

 

_IEAction($oBtn1, "click")

 

putting the button to focus and then controlclicking also doesn't work

 

please help bros

Share this post


Link to post
Share on other sites
JLogan3o13

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×