That code has *lots* of problems.

First, there's no db() call so you're not going to have any rows.

You don't do the "onkeyup" like that. You need to do it in the view as shown 
in the book:
http://web2py.com/book/default/chapter/10#The-ajax-Function

You're going to have a problem if "len(request.args)" is True since if 
that's the case, page and items_per_page will not exist.

I very strongly encourage you to start at the beginning of the book and work 
you're way through it. Don't even look at chapters 9-13 until you have 
mastered 1-8.

And when you post problems here, go ahead and copy paste the exact error 
message you are receiving.

Reply via email to