<table><tbody><tr><td><select id="prod1" runat="server"/></td></tr></tbody></table> <table><tbody><tr><td><select id="prod2" runat="server"/></td></tr></tbody></table> <table><tbody><tr><td><select id="prod3" runat="server"/></td></tr></tbody></table>
function AddItem(Text,Value) { // Create an Option object var opt = document.createElement("option"); // Add an Option object to Drop Down/List Box document.getElementById("DropDownList").options.add(opt); // Assign text and value to Option object opt.text = Text; opt.value = Value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)