>From memory,
When a field in IE has enter pressed, the default button that is fired on
enter press is the first defined button in the markup.
You can block this event by clocking keypress where e.keyCode == 13
There's some other rules too, but i cant remember where I read this

On Sat, Sep 13, 2008 at 4:37 PM, mocambo <[EMAIL PROTECTED]> wrote:

> I have produced an simple example!
> http://www.hot.ee/mocambo/test_input_ie.html
> (For testing issues all of Prototype.js removed)
> Focus input field or document body and press ENTER.
> It fires Click on Button 1 all times.
> Where IE stores reference to this default button ?
> Maybe it's possible set NULL to this reference or what if I want same
> way fire another button instead first one ?
> >

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to