On Saturday, March 26, 2016 at 7:51:07 AM UTC-4, Michael Beller wrote:
>
> You may be able to use jquery unwrap, wrap, or replace
>
> For example, I want to load a component and not generate the wrapping DIV 
> so I added a unique id to the top element in my view.load file and this 
> inline at the bottom:
> <script>
>   $("#unique-id").unwrap();
> </script>
>

You'd have to make sure that runs after the initial web2py.js handler that 
sets up the component, as that handler specifically looks for divs.

Anthony

-- 
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.

Reply via email to