[Seaside] How to set focus on text fields?

Michel Bany m.bany at wanadoo.fr
Sat Jun 10 22:18:09 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.


More information about the Seaside mailing list