[web2py] Re: SQLFORM input attributes

2010-10-13 Thread cjung89
Oct 12, 10:30 pm, mdipierro wrote: > yes > > form=SQLFORM(Field('abc')) > form.element(_name='abc')['_onkeyup'="." > > On Oct 12, 7:31 pm, cjung89 wrote: > > > > > In the web2py book there is this function in the overview f

[web2py] SQLFORM input attributes

2010-10-12 Thread cjung89
In the web2py book there is this function in the overview for the wiki demo: def search(): "an ajax wiki search page" return dict(form=FORM(INPUT(_id='keyword',_name='keyword', _onkeyup="ajax('bg_find', ['keyword'], 'target');")), target_div=DIV(_id='target'))