[Wtr-general] clicking a link in a javascipt array

Zeljko Filipin zeljko.filipin at gmail.com
Wed Jun 7 07:45:39 EDT 2006


This will show you links at your page:

ie.show_links

index name        id    href
                                       text/src
1
javascript:PC_7_0_G1_selectEmployee('0',%20'amend')         Amend
2
javascript:PC_7_0_G1_selectEmployee('1',%20'amend')         Amend
3
javascript:PC_7_0_G1_selectEmployee('2',%20'amend')         Amend

This will click second link:

ie.link(:url, "javascript:PC_7_0_G1_selectEmployee('1',%20'amend')").flash

It worked for me.

Željko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060607/26d65fad/attachment.html 


More information about the Wtr-general mailing list