title: Dojo populate combo box widget dynamically
body: <p>Could someone please explain to me why this simple straight forward code isnt working,</p>
  
  <pre><code>var serviceStore = new dojo.data.ItemFileWriteStore({
  data: {identifier: "serviceCode",items:[]}
  }); 
  //jsonObj is a json object that I obtain from the server via AJAX                                       
  for(var i = 0; i&lt;jsonObj.length;i++){
  serviceStore.newItem({serviceCode: jsonObj[i]});
    }
  var serviceFilterSelect = dojo.byId('serviceSelect');
  serviceFilterSelect.store = serviceStore;
  </code></pre>
  
  <p>There is no error at all displayed but my combobox with the id "serviceSelect" doesn't display any options, the combo is declared in the html section of my code,</p>
  
  <pre><code>&lt;input dojoType = "dijit.form.ComboBox" id="serviceSelect"&gt;&lt;/input&gt;
  </code></pre>
  
  <p>Any pointers towards the right direction will be much appreciated.</p>