Nest Controls into Tabs
I have a html Table, and every other controls are nested in this Table. Now, I like to nest this table along with the controls inside into the AW.Tabs. Could you give me a simple code to do it? I tried as following code, but it didn't work.
<script>
var obj = new AW.UI.Tabs;
obj.setItemText(["Step 1", "Step 2", "Step 3:"]);
obj.setItemCount(3);
obj.setSelectedItems([0]);
obj.setStyle("width", "100%");
document.write(obj);
</script>
<table id="table1" runat="server" width="100%">
//some controls nested in here
</table>
<script>
var page1 = [table1];
container.element().innerHTML = page1.join("");
</script>
Thanks,
<script>
var obj = new AW.UI.Tabs;
obj.setItemText(["Step 1", "Step 2", "Step 3:"]);
obj.setItemCount(3);
obj.setSelectedItems([0]);
obj.setStyle("width", "100%");
document.write(obj);
</script>
<table id="table1" runat="server" width="100%">
//some controls nested in here
</table>
<script>
var page1 = [table1];
container.element().innerHTML = page1.join("");
</script>
Thanks,
mrhsh
April 10,