You could also do: 1. Right Click and select view source 2. Ctrl + f and enter <table 3. Click 'Find Next' NOTE: that is table index 1 4. Continue clicking 'Find Next' (and counting) until the desired table is reached.
This is tedious I know but works pretty well especially if you have nested tables. Here is another thing that helped me. Once the desired table is found you can shortcut access to that table by doing this: table = $ie.table(:index, <target index>) table[row][column].<object you want to access> One additional note: if your action changes your target table dynamically (e.g. clicking a button adds/removes a table value) you will have to add this line: table = $ie.table(:index, <target index>) again AFTER the action to load changes into the table variable. --Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hue Mach Dieu Sent: Wednesday, July 20, 2005 7:41 PM To: [email protected] Subject: [Wtr-general] Help get data from Table Hi All, I would like get data from table, but when view HTML code of this page, I don't found the id of this table. <html> <head> <meta http-equiv="Content-Language" content="ja"> <meta http-equiv="Content-Type" content="text/html;"> <link rel="stylesheet" type="text/css" href="../style.css"> <script language="JavaScript" src="../templates/English/common/function.js"></script> </head> <body class="rbody"> <table border="1" cellspacing="0" cellpadding="2"> <col width="110"> <!-- Date time --> <col width="90"><!-- Equipment Code--> <col width="64"><!-- Alarm ON/OFF--> <col width="80"><!-- AlarmType--> <col width="150"><!-- AlarmID--> <col width="500"> <!-- AlarmText --> <tr align="center"> <td class="thead">Date Time</td> <td class="thead">Equipment Code</td> <td class="thead">Alarm ON/OFF</td> <td class="thead">Alarm Type</td> <td class="thead">ALID</td> <td class="thead">Alarm Text</td> </tr> ...... Thank you for help. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
