Hi all of you,
I am trying to add items to a drop down control at run time. Items will be added to it on clicking a button. I have associated a VBScript function to the button on it onClick event.
But unfortunately the add statement to the drop down control is not working. Please help.
My GO button declaration is like this
<.........GoButton........................ onClick = "loadAttributes()">
lstAttribute is the drop down list which should get loaded with some items.
SCRIPT Code section:
lstAttribute.add "ABC",1 (not working ERROR : Type Mismatch. I have also tried lstAttribute.addItem “ABC”,1 . it is also not working )
please help out with the example.