hello,

from the document
     (page 423 of 3rd edition of web2py, and 
http://web2py.com/book/default/chapter/10)

it say the ajax api has the following signature
   <input id="name" onkeyup="ajax('echo', ['name'], 'target')" />

however, when I tried on my own application, instead of the 'id'
field, I need to use the 'name' field
   <input name="name" onkeyup="ajax('echo', ['name'], 'target')" />

in order for the ajax api to work. (ie, the input tag has to be 'name'
instead of 'id')

maybe the document was wrong or the API get changed recently?
I'm using the most recent (web2py-1.91.5) web2py.


Best,

Reply via email to