Put the target inside a DIV and make the outer DIV the new target. Or use ':eval' to do the replacing with JavaScript.
Anthony On Thursday, August 7, 2014 9:00:50 PM UTC+2, Spokes wrote: > > When a target is specified (as opposed to using ':eval'), web2py's ajax > call replaces the content of the target. What's the best way, using the > ajax call, to replace the target itself, rather than replacing the content > of the target? Thank you. > -- 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.