| Sample: dhtmlxCombo | Changing combobox state | dhtmlxCombo main page |

There is an opportunity to change combo visibility, states of editing and availability.

        <div id="combo_zone2" style="width:200px; height:30px;"></div>
        <script>
            var z=new dhtmlXCombo("combo_zone3","alfa3",200);
            z.addOption([[1,1111],[2,2222],[3,3333],[4,4444],[5,5555]]);</script>

        <button onclick="z.show(false)">Hide</button>
        <button onclick="z.show(true)">Show</button>

        <button onclick="z.readonly(true)">Readonly</button>
        <button onclick="z.readonly(false)">Editable</button>

        <button onclick="z.disable(true)">Disable</button>
        <button onclick="z.disable(false)">Enable</button>