[Wtr-development] [JIRA] Updated: (WTR-15) OnBlur event is not being fired when select from a selectBox control.

Charley Baker (JIRA) watirjira at gmail.com
Wed Oct 27 15:42:29 EDT 2010

     [ http://jira.openqa.org/browse/WTR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker updated WTR-15:

    Fix Version/s:     (was: 1.6.7)

> OnBlur event is not being fired when select from a selectBox control.
> ---------------------------------------------------------------------
>                 Key: WTR-15
>                 URL: http://jira.openqa.org/browse/WTR-15
>             Project: Watir
>          Issue Type: Bug
>          Components: HTML Controls
>    Affects Versions: 1.4.1, 1.5.0/1.5.1
>         Environment: Windows XP SP2 and IE 6
>            Reporter: MarkC
>            Assignee: Bret Pettichord
>            Priority: Major
>             Fix For: Soon
> > The developer put an 'OnBlur' event behind the selecting from the
> > troublesome dropdown, which would populate a form variable with the value of
> > the selection.  That event was not happening in my script (not sure how 
> > Watir does it but you actually have to give the select list focus in order
> > for the OnBlur event to fire, or call the event explicitly).  When I added
> > this line to my script >>$ie.selectBox( :name, 
> > "myProjectID2").fireEvent("OnBlur")<< then it set the
> > variable and would not reset the value
> The OnBlur event is not being fired after selecting a value from a selectBox.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the Wtr-development mailing list