Class AjaxPreventSubmitBehavior

All Implemented Interfaces:
Serializable, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable

An Ajax behavior that could be used to prevent the form submit when the user presses the ENTER key while in an HTML <input type="text" > field.

The behavior could be applied to a TextField or to a parent container that will apply this behavior to all children of type HTMLInputElement.

This Ajax behavior is client-side only, i.e. it never fires an Ajax call to the server.

See Also: