Categories | Question details Back To List | ||
array of combo box when i try to make array of combo box it failed var size[0]=new dhtmlXCombo("div(0)","div(0)",80); size[0].addOption([[1,1111],[2,2222],[3,3333],[4,4444],[5,5555]]); var size[1]=new dhtmlXCombo("div(1)","div(1)",80); size[1].addOption([[1,1111],[2,2222],[3,3333],[4,4444],[5,5555]]); thx Answer posted by Support on Dec 08, 2008 02:10 The behavior of component will not change if you are creating and storing a separate one, or a set stored in array. Be sure that first parameter of each constructor ("div(0)","div(1)") is a valid ID of html container inside which combo need to be created. Container must exists on moment of combo creation. |