The Ajax worked OK for me. I used your exact same code except I switched/fixed this one line:
results = db().select(orderby = ~db.post.id) to results = db(db.post.id>0).select(orderby = ~db.post.id)
The Ajax worked OK for me. I used your exact same code except I switched/fixed this one line:
results = db().select(orderby = ~db.post.id) to results = db(db.post.id>0).select(orderby = ~db.post.id)