dniezby
04-08-2007, 05:34 PM
I'm having an issue getting the chosen value of a combobox.
I want to assign the chosen value to a variable so here is what I did.
In the onChange option.
shipmethod = this.getValue();
Isn't that supposed to work?
I set up a textbox with the variable shipmethod to test it and it's not working.
I've also tried:
shipmethod = this.getSelectedItem();
Any thoughts?
2 items in combobox (eMail, snailMail)
I want to assign the chosen value to a variable so here is what I did.
In the onChange option.
shipmethod = this.getValue();
Isn't that supposed to work?
I set up a textbox with the variable shipmethod to test it and it's not working.
I've also tried:
shipmethod = this.getSelectedItem();
Any thoughts?
2 items in combobox (eMail, snailMail)