Copying div from other page
Hello all, is there anyhow to copy the html div from other page without having to load it into another container?
I searched a lot and this was the only way that I found out to do so. I've read the documentation and went far in the search for it.
This is how it works if I use the load:
- var n = $('#contentcontainer').load('documentType.jsf #filters').clone();
that way I am able to do so, but then I would have to load everytime the action is taken, I want to just copy the div without having to load it into another container.
Is this the only way that i can achieve that or is there any other how to do so?