title: How to get updated value from Dijit.editor and set it to other div
body: <p>I trying to get this script to work, but no success so far.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div dojoType="dijit.Editor" id="editor"&gt;&lt;/div&gt;
  &lt;div id="target"&gt;&lt;div&gt;
  </code></pre>
  
  <p>Script:</p>
  
  <pre><code>          dojo.addOnLoad(function() {
  
              var geteditor = dojo.byId("editor");
              dojo.connect(geteditor, "onChange", function() {
                 var a =  dijit.byId("editor").get("value");
                 dojo.byId("target").innerHTML= a ; 
  
              });
            });
  </code></pre>
  
  <p></p>
  
  <p>Does someone can advise me, how to get editor <strong>updated/changed</strong> value from dijit.editor after it changes smth and update other div.innerHTML?
  Maybe there is other way? Im new with dojo and javascript acctualy.
  Thanks</p>