in reply to CGI param returns HTMLInputElement.

Can you show what is the value of object param in your Javascript code? Maybe there is some Javascript function which change values of SELECT onSubmit?

  • Comment on Re: CGI param returns HTMLInputElement.

Replies are listed 'Best First'.
Re^2: CGI param returns HTMLInputElement.
by lanta (Sexton) on Oct 02, 2007 at 11:47 UTC

    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);