Menu
hi all,
i am developing an application in struts and javascript.
i am creating a layer and then i am trying to insert a combobox in it.
the reason why i am creating a separate layer for each control is that i want the elements to be draggable.
the code is:
var cod = document.cbe.createElement(“DIV”);//i have a createElement() method for cbe for creating a layer
cod.cbe.innerHtml(‘<html:select name=”employeeForm” property=”mycombo” onchange=”pass(this.options[this.selectedIndex].value)”>
<html:options collection=”mycombo” property=”id” labelProperty=”description”/>
</html:select>
‘);
the error i get is :unclosed string literal.