Wow.  Good to know, thanks.
 -- Dash --

RobG wrote:
>
> On Mar 31, 1:40 am, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>   
>> That is very possible.  I would argue that it would be better to use a
>> drop-down list that could then have an onChange event handler
>>     
>
> Select elements using change events have well known accessibility
> problems - if you try to navigate them using the cursor keys, some
> browses will fire a change event every time a key is pressed and the
> selection changes.  In other browsers, nothing happens until the
> control loses focus and the selection has changed from when the
> control got focus.
>
> Try this in IE:
>
> <select onchange="$('d0').innerHTML += '<br>'+this.value;">
>  <option value="zero">zero
>  <option value="one">one
>  <option value="two">two
>  <option value="three">three
> </select>
> <div id="d0"></div>
>
>
> --
> Rob
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to