AMA3 wrote: > I see that IE uses event.keyCode to identify which key caused an event, > while the others all seem to support event.which. I was hoping Prototype > would have a browser-independent solution (perhaps populating event.which > from event.keyCode or vice-versa) but I can find nothing in the API docs or > the code. > > Any chance that a browser-independent solution can be added to 1.5.2 so we > don't have to write a cross-browser method ourselves? > > Or is one already there, and I'm just missing it?
i use event.keyCode and it works on safari, ff, ie and opera. hope that helps Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
