Jump to content
Sign in to follow this  

[IE - get button ID] - RESOLVED

Recommended Posts


Well - I can't get a handle to the button labelled "Export" in the following html:

    <title>Altitude™ AP Inventory</title>


<table border='0' width='100%'>
    <td class="cnRTDHead">Altitude™ AP Inventory -</td>
    <td align="right">Data as of Oct 16, 2009 11:51:40 am</td>

<!-- contents -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr><td align="center" valign="top" bgcolor="#666666">
<font color='white'>There are no configured Altitude™ APs</font><br></td></tr></table>

<table border='0' width='100%' id='close_button'><tr>
    <td><input type="button" value="Export" style="width:180px" onclick="grab_xml()"></td>
    <td align="right"><input type="button" value="Refresh" style="width:80px" onclick="window.location.reload()">
        <input type="button" value="Close" style="width:80px" onclick="window.close()"></td>


The problem is: the button doesn't have an ID or a name.

How can I possibly get that button clicked (mouse-clicks at coordinates are out of question)?

Thanks for any help.

My bad: posting without proper search is a big no-no.

Shame on me :)


- from another post ... can't find it, so no-credit ...

$colTags = _IETagNameGetCollection($oIE, "input")
For $oTag In $colTags
    If $oTag.value = "Export" Then
        _IEAction($oTag, "click")
Edited by enaiman

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this