I'm trying to get a text box to appear if someone makes a choice of other in a dropdown box in ASPRunner 6.3 Enterprise.
I get the following when I go to edit page and make a choice in the dropdown
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.2; AskTB5.6)
Timestamp: Sun, 1 Apr 2012 11:45:54 UTC
Message: Object doesn't support property or method 'show'
Line: 4
Char: 1
Code: 0
URI: http://10.255.0.109/enteritintoweb/elections/lastdaytheme/include/runnerJS/events/pageevents_StudentVoters.js
in the javascript i put the following which I copied and modified from a different post
var ctrl = Runner.getControl(pageid, 'Choice01');
ctrl.on('change', function(e, argsArr){
var ctrl1 = Runner.getControl(pageid, 'Other');
if (this.getValue()=='Other')
ctrl1.hide();
else
ctrl1.show();
},{args: ['newValue']});
I get the error regardless of which choice I make - so it is obivously something wrong with my script
Any help would be appreciated