Categories | Question details Back To List | ||
Want to change the state of dropdown in vbscript Hi, I got the dropdown working in my xslt file. But now i need to change it via application where i set it enable or disable How do i do this in vbscript: Please Assist! <script TYPE="text/javascript" src="./codebase/dhtmlxcommon.js"></script> <script TYPE="text/javascript" src="./codebase/dhtmlxcombo.js"></script> <link rel="STYLESHEET" type="text/css" href="./codebase/dhtmlxcombo.css"></link> <script TYPE="text/javascript"> window.dhx_globalImgPath="./codebase/imgs/"; </script> <script TYPE="text/javascript"> var z=dhtmlXComboFromSelect("<xsl:value-of select='$Name' />"); z.readonly(true); z.disable(true); </script> Answer posted by Support on Jan 21, 2008 04:31 On client side you can use z.selectOption(index); or z.setComboValue(value) z.setComboText(text); where z - combo object |