title: How to use dojo moveTo programmatically through javascript?
body: <p>I can markup a Heading or ListItem to have a moveTo attribute and that transition works perfectly.   </p>
  
  <p>Is there a way perform a transition to a named view programmatically say, on a  button click?</p>
  
  <p>Somewhere on the net I found below code, but its not working. I need something similar to this -</p>
  
  <pre><code>function moveTo(){
  var w = dijit.byId('currentView');
  w.performTransition('#newView',1,"fade",null);
  }
  </code></pre>