obout Interface - OboutDropDownList - Client-Side Manipulation

alert(ddl1.value());

ddl1.value('USA');

alert(ddl1.selectedIndex());

ddl1.selectedIndex(5);

alert(ddl1.options[6].value);

alert(ddl1.options[7].text);

ddl1.options.add('Some Country', '230');

ddl1.options.remove(2);

ddl1.options.clear();

ddl1.enable();

ddl1.disable();

ddl1.open();

ddl1.close();

ddl1.onchange = onChange;

ddl1.onchange = null;


The OboutDropDownList exposes many client-side methods that allow you manipulate the control on the client-side.


« Back to examples