I want to build a select box and options using JSON data returned from the server. I can successfully return the JSON data (as I can see it in FireBug) but I want to then build a select box with this data. e.g.
var el = getEl(objID);
var mgr = el.getUpdateManager();
mgr.update('/getvendors');
What is the best way to achieve this ?
Should I use a template ? If so, how is it constructed?
How do I get the data from the update manager into the template ?