it would be helpful if you provided some of the code as well as the jquery
selectlist and html and if it is publicly available a link to it

On Fri, May 27, 2011 at 1:35 AM, Babitha <[email protected]> wrote:

> Hello
>
> I have a selectlist on my page, which has a onchange event handler
> defined in JQuery. This event handler does not seem to be getting
> triggered when I use Watir to change the selectlist value.
>
> The behavior is pretty erratic.
> Sometimes the event handler is fired and sometimes it is not.
>
> I found a similar question asked in StackOverflow and the answer given
> was to use element.fire_event "onclick" or element.fire_event
> "onchange". I tried this as well and still the behavior is
> unpredictable. For one value selected in the selectlist it works, but
> not for the other one.
>
> I have ruby 186-26, watir-1.6.7. IE 8
> Is it a known issue? Is it fixed in the later version of Watir?
>
> thanks
> Babitha
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to