I am looking at the question and answer:
I created a web form (.aspx) playing around with the examples given in the question above; its working fantastically.
Now I want to use the same example in a web user control (.ascx) form. Im new at this and cant find how you set the object variable: “var formObject = document.testForm”
I get the following error “Microsoft JScript runtime error: 'ListBox' is null or not an object”.
Thank for the help in advance.