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>

I think you may be able to use replace also.

On Thursday, March 24, 2016 at 12:51:33 PM UTC-4, webm...@trytha.com wrote:
>
> I want my component to load in a span() instead of the default 
> div(class="data-w2p_remote").  Anyone know the best way to do this?
>

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