Hi Monks, I am running a script to automate an online tool. One of the pages as I navigate has a "+" sign to expand some more options. I need to access a button from within the expanded options. Could anyone suggest how to expand "+" sign. The source code for this does not have an associated name/class/value. The source code is:
<li class="closed"><a href="#" class="parent" onclick="return door(thi +s);">Pathways<font id="Pathwaystd" size="1" face="Verdana" color="#80 +0000">&nbsp;&nbsp;&nbsp;</font></a><ul class="item"><li><table width= +'90%'> <TR class="summary_row"><td class="summary_row" width='35%'><input typ +e="checkbox" onclick="countGroup('Pathways');" name="summaryList" id= +"Pathways" value="48" > <font color="red">KEGG_PATHWAY</font> &nbsp;& +nbsp;</b> </td><td class="summary_row" width='10%'>&nbsp;&nbsp;&nbsp; + 14.3%&nbsp;&nbsp;&nbsp;</td><td class="summary_row" width='10%'>1</t +d><td class="summary_row" width='10%'>&nbsp; <input type="button" onc +lick="getChartReport('48');" value="Chart" name="B5" ></td><td class= +"summary_row" width='35%'> <img height='12' src='graphics//two_tone_2 +_a.jpg' style="cursor:pointer" onclick="getAnnotationReport('48');" w +idth="60.57142857142857" size="12" color="#008000"> </td></tr>
The + sign is for the "Pathways" within which is KEGG pathway I actually need. The problem is the page has several other buttons with value "chart" and name "B5" but with different "onclick" functionality. Please HELP!

In reply to Win32::IE::Mechanize - object tree expansion by sarP

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.