Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Initializing the same Splitter in two tabs
posted

Hello,

I'm trying to inizialize a splitter in more than one tab of my web application.

The tab loades its content via Ajax. The content of each tab is based on one template, which contains the splitter.

So every tab gets the same div-tag with the id "splitter" and should inizialize $("#splitter").igSplitter();

But when I open the second tab the debugger says "Error setting option". But I suppose the framework has problems to inizialize the new splitter with the same id as a still existing splitter object.

One possible solution is to clear the deactivated tabs' content. But I'm convinced, there is a nicer solution for this problem.

Has anyone a suggestion?

Regards, Lutz

Parents Reply Children
No Data