All pastes #247312 Raw Edit

Unnamed

public text v1 · immutable
#247312 ·published 2006-11-13 09:10 UTC
rendered paste body
Does anyone have any thoughts on this patch?, is there any chance of getting it put in trunk?

I'm using this patch primarily so that I can detect <ENTER> keypresses on an <input type="text"> that's in a form. With this patch, I can now do it with onkeypress (rather than down or up) and stop the event successfully in all browsers (Opera, IE, and FF).

Perhaps if this patch is accepted, some rewording of the documentation to indicate this is now possible would be a good idea too.