Form target to tab


Is it possible to post a form to a new tab? I’m sure this should be easy, but for the life of me I can’t figure this out. I’m using the iframes setHrefMode.



unfortunately it isn’t possible to define dynamically created iframe as a submit target. You may try to place the iframe as html content into the tab. In this case you may define this iframe as a target:


... tabbar.addTab("a1","New Tab","100px"); tabbar.setContent("a1","content") tabbar.setTabActive("a1"); document.getElementById("frm").target = "a1"; ...[/code]