IE doesn't pass the (e) event object to event handlers automatically unless
you are using Event.Observe to attach your handler (prototype way).
You'll need to go if(!e) e=window.event;
But be aware this still isn't cross browser because not all browsers that
don't pass (e) have window.event.

Gareth


On 4/12/07, RobG <[EMAIL PROTECTED]> wrote:
>
>
> On Apr 11, 8:05 pm, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
> [...]
> > Perhaps changing the type= attribute to "text," which is a valid value?
> >   Untested, but first thing I'd change.
>
> The default value for an input element's type attribute is text, so it
> shouldn't make any difference.
>
> <URL: http://www.w3.org/TR/html4/interact/forms.html#edef-INPUT >
>
>
> --
> 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