I'm trying out the new AJAX controls and I have two comboboxes in a Create User Wizard. I want the second one to be populated via AJAX based on what the user selected from the first combo. So I'm trying to use the code in the multiple comboboxes example.
However, as the combobox is in a wizard I can't reference it directly:
When it gets to the third line I get a null reference error because it hasn't found the control. How to I make a valid reference in the first line above (my javascript skills are basic at best)?
However, as the combobox is in a wizard I can't reference it directly:
var regionsCombo = $find("Region"); |
var item = eventargs.get_item(); |
regionsCombo.set_text("Loading ..."); |
When it gets to the third line I get a null reference error because it hasn't found the control. How to I make a valid reference in the first line above (my javascript skills are basic at best)?