Hello
 So we have a list of posts, which are need to be moderated. Each post
is a link which load crud.update on the particular post.
 I plan to update the list to reflect crud.update changes.
 So I put into crud form:
form.element(_type='submit')['_onclick'] =
XML("ajax('"+str(URL(r=request,f='export.load',args=[request.args(1),request.args(2)]))
+"',['rub_"+str(request.args(1))+"'], 'content');" )

 This works but, crud.update changes applyed after list reloaded. So
next reload shows changes.
Question: How to make form.submit via ajax before ajax reload? (in my
terms)
I try to make POST in onclick action, but failed due to lack of
parameters for ajax call (this ajax load crud form), but how to get it
known in _onclick definition?

Reply via email to