title: Using Dojo mobile 1.9 registry.byId fails to find an input control
body: <p>I have the following section in an HTML page:</p>
  
  <pre><code>&lt;div&gt;
    &lt;label style="margin-right:5px;vertical-align:middle;"&gt;Index&lt;/label&gt;
    &lt;div data-dojo-type="dojo/store/Memory" data-dojo-id="indexStore"
      data-dojo-props="data: [{id: 1, name: 'ID'}]"&gt;&lt;/div&gt;
    &lt;input id="indexcombo" name="indexselector" type="text"
      data-dojo-type="dojox/mobile/ComboBox" style="width: 122px;
      vertical-align: middle;" value="ID" data-dojo-props="store:indexStore,
      searchAttr:'name'"&gt;&lt;/input&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And in a separate JavaScript file I have this:</p>
  
  <pre><code>require([
    "dojo/on",
    "dojo/dom",
    "dojo/dom-attr",
    "dojo/request",
    "dojo/json",
    "dojo/_base/array",
    "dojo/_base/window",
    "dojo/dom-construct",
    "dijit/dijit",
    "dijit/registry",
    "dojo/parser",
    "dojo/store/Memory",
    "dojox/mobile",
    "dojox/mobile/deviceTheme",
    "dojox/mobile/Heading",
    "dojox/mobile/Accordion",
    "dojox/mobile/ContentPane",
    "dojox/mobile/FormLayout",
    "dojox/mobile/TextBox",
    "dojox/mobile/SimpleDialog",
    "dojox/io/xhrScriptPlugin",
    "dojox/mobile/RoundRectStoreList",
    "dijit/form/DataList",
    "dojox/mobile/ComboBox",
    "dojox/mobile/Button",
    "dojox/mobile/GridLayout",
    "dojo/domReady!"
    ],
  
    function(on, dom, domAttr, request, json, array, win, domconstruct, dijit, registry,
             parser, memory, mobile, deviceTheme, heading, accordion, contentpanel,
             formlayout, textbox, simpledialog, xhrscriptplugin, roundrectdatalist,
             datalist, combobox, button, gridlayout)
    {
      var indexcombo = dom.byId("indexcombo");
      var indexcombowidg = registry.byId("indexcombo");
    ...
    }
  </code></pre>
  
  <p>I am simply tearing my hair out. I can always get indexcombo but indexcombowidg always fails. I need to handle the onChange event of the ComboBox so that I can change the value of the current index, but nothing I try allows me to connect to the event. I am testing this in both Firefox and Chrome.</p>
  
  <p>Any suggestions would be appreciated. I am spending hours doing things in JavaScript that would take minutes in most other languages, and it is becoming increasingly frustrating.</p>
  
  <p>Regards, Neil</p>