[Dojo-interest] Newbie: ComboBox problem --> How to reassign key & value after reload?

Jan mailinglist at schmerzbefreit.de
Fri Sep 1 02:02:51 MDT 2006


Hello @ all :-)

After more than three days trying, I've no idea how to reassign a Dojo
ComboBox after a complete reload.

Lets take this example of dropdown data:
var comboData = [
["Audi","1"],
["BMW","2"],
["Mercedes","3"]
];

The user selects "BMW".
After a complete submit of my page I only know the fact (maybe via PHP),
that this ComboBox has the value "2".

My problem: How to reassign (based on this "2") the correct values
("BMW" and "2") to my ComboBox???


Thanks in advance for any help!
Stay tuned, Jan



More information about the Dojo-interest mailing list