Cliff, you alluded that this doesn't work, but it's actually a valid
signature and should work:
IS_IN_DB(db(db.categories.parent_table==request.args(0)),'categories.id','
categories.name')
just as valid as the following signatures:
IS_IN_DB(db(db.categories.parent_table==request.args(0)), "catego
Ok, now that this works seems I'm still in trouble.
The page I'm loading is one that has a table that I'm trying to make
clickable and a form to enter more data.
Here is the controller:
@auth.requires_login()
def budget():
db.expense.parent_table.default = request.args(0)
db.expense.categ
The ['id'] middle arg of the ajax function works only with forms, and it
looks for the name attribute in form inputs for check its val().
your code needs to be something like this:
{{extend 'layout.html'}}
*
$(document).ready(function () {
$('.row').click(funtion(){*
* ** ajax('ech
3 matches
Mail list logo