Trying to use window.location.href='{{=URL('promo3')}}' + '?' + $.param({ids: ids});
but the code is generated invalid link with additional symbols: http://______/_____/promo3?ids*%5B%5D*=3 Some manipulations and the code is work perfectly: window.location.href="{{=URL('promo3_order_det')}}?ids=" + selected_id; And how to select all rows from the db table that belongs selected list? When I check only one checkbox and pass only one id to controller dev the result is correct. But multiple checked items generate error. I use this code to select: rows = db(db.hes.id.belongs(request.vars.ids)).select() On Thursday, September 10, 2015 at 1:44:54 PM UTC+3, Leonel Câmara wrote: > > How about this: > > window.location.href='{{=URL('promo3')}}' + '?' + $.param({ids: ids}); > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.