var boxBuffer = [];
boxBuffer.push("<form name='logform'><select name='logbox' style='width: " + extComboWidth + "px' onchange='xmlLoader(this.options[this.selectedIndex].value)'>");
for (var i = 0; i < separateTag.length; i++) {
- boxBuffer.push("<option value='" + separateTag[i].getElementsByTagName("path")[0].firstChild.nodeValue + "'/>" + separateTag[i].getElementsByTagName("display")[0].firstChild.nodeValue);
+ boxBuffer.push("<option value='" + separateTag[i].getElementsByTagName("path")[0].firstChild.nodeValue + "'/>" + separateTag[i].getElementsByTagName("display")[0].firstChild.nodeValue + "</option>");
}
boxBuffer.push("</select></form>");