in reply to Re: CGI param returns HTMLInputElement.
in thread CGI param returns HTMLInputElement.

Thanks Gangabass, you are right. The problem was on the javascript side.

I was calling the addOption() as follows

addOption(someSelectObject,"display_string", someTextObject);
instead of
addOption(someSelectObject,"display_string", someTextObject.value);