> >I don't understand why all these events are not cancelable. If > >they were, it would give another possibily for the developer. > > What would it mean to cancel load, unload, error, and abort for example? OK. For these events, I agree. Perhaps my explanations were not clear... > All you can do is prevent the default action, and these event types in > general do not have one associated with them, or you can stop their pro- > pagation, which you can do for all event types. So how do you think the > developer is constrained here? In fact, I wish that the user remains blocked in the input zone. For example, the value of reference is 25 and the user must put a value which is larger than 25. In the onchange event, I test the new value. If he put 13 for example, I'd like him not to leave the input zone (with, moreover, an alert message). In IE, I just write : return false and it is ok ! In Firefox, I sought several solutions (onfocus, onkeypress, etc...) without finding anything... Do you have any solution, any suggestion ? Thank you very much. David.Received on Tuesday, 18 July 2006 12:03:38 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:58 GMT