Login Register

tab container

Using new tabs to continue navigating

hi
i'm trying to dynamically create tabs by pressing a button. The idea is that the user can continue using that tab to navigate
this is the script for my button

	var tabs = dijit.byId("tabs");
	var pane = new dijit.layout.ContentPane({ title:"Búsqueda paciente", href:"/hola" });
	dojo.mixin(pane, {closable: true, onClose: testClose	});
	tabs.addChild(pane,1);
	tabs.selectChild(pane);	

getElementsByName on an externally loaded tab on IE

I have a little issue with IE that it's causing me headaches. Any help will be greatly appreciated.

I have the following Widgets in web page:

  • LayoutContainer
    • ContentPane
      • TabContainer
        • and a few LinkPanes loaded
          externaly using the href attribute

I have some parts on the JavaScript code that "uses" regular HTML elements of the Tabs using getElementsByName() or getElementById() - My problem is that everything works with FireFox, but IE doesn't "see" any elements
there.

Do you have some ideas?

Syndicate content