I am facing a weird problem

if I click the link manually then i get the desired results but if I use
link.click() then i get javascript errors. Link has href() which points to
some javascript method

<a href="javascript:changeSelection()">

Any ideas? or suggestions? to fire the javascript event successfully using
watir?

- Angrez

On Mon, Mar 30, 2009 at 7:20 PM, Angrez Singh <ang...@gmail.com> wrote:

> Hi,
>
> Can some one explain me the difference? In one of our projects if I do
> link.click() i get javascript errors & if i do link.fire_event("onclick")
> nothing happens.
>
> - Angrez
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to