table = $ie.table(:id, /TerritoryEmployee/).to_a
table.each do |element|
puts element
end
or
$ie.table(:id, /TerritoryEmployee/).to_a.each do |element|
puts element
end
On 6/28/06, Adrian Rutter <[EMAIL PROTECTED]> wrote:
If I use the to_a method on an HTML table,
e.g. $ie.table(:id, /TerritoryEmployee/).to_a
How do I access each individual element?
Thanks
Aidy
---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general