>
> if request.vars.action=='add':
* "jQuery('item_%s' % p.id).session.order[id]=session.order.get(id,
> 0)+1;"*
> "jQuery('total_%s' % p.id).session.order[id]=session.order.get(id,
> 0)+1;"
>
First, the above isn't actually returning anything -- it just creates two
strings -- you have to return the Javascript. Second, you appear to be
mixing Javascript and Python there. Before you proceed, you might consider
spending some more time studying both Python and Javascript/jQuery -- that
will cut down on a lot of your problems and questions.
Anthony
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.