onblur to work with select

Hi,

I have tried to do this, but if you delve into the prototype javascript definitions I think the on blur is not actually implemented even though rails includes the option. I believe there is a way to detect the enter key in js, but I cant recall exactly how. What I ended up doing was to add a dummy field following the field I want to detect the blur. I then detect the on focus to do the call to remote, where I then do my update and use set focus to move to the next field.

Not ideal, but it achieves the desired result.

Tonypm