Jump to content

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


Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...