[Seaside] Scriptaculous - Keyboard shortcuts, Setting Focus

Lukas Renggli renggli at gmail.com
Tue Dec 4 06:36:40 UTC 2007


> Are there ways to set keyboard shortcuts on entry fields or the document (so
> I can react to e.g. "Enter"

html form
   defaultAction: [ " Your ENTER handler callback " ];
   with: [ ... ]

> or "Cmd-P"),

html textInput
   accessKey: $p;
   ...

> and to select which field has
> focus?

html textInput
    script: html formElement focus;
    ...

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list