[Seaside] How to set default pushbutton? Re: How to set focus on
carlg at libertybasic.com
Sun Jun 11 19:54:47 UTC 2006
> Try this, with the classic api :
> html autofocus: [
> html textInputWithCallback: [:value | self acceptedValue: value] ]
> There is also #autofocus:withCursorAt:
> With the canvas api :
> html textInput setFocus; etc.
Thanks, that worked for setting the focus on the input field. Any
suggestions for making the submit button the default pushbutton?
-Carl Gundel, author of Liberty BASIC
More information about the Seaside