Skip to content

Instantly share code, notes, and snippets.

@unscriptable
Created September 29, 2010 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unscriptable/603432 to your computer and use it in GitHub Desktop.
Save unscriptable/603432 to your computer and use it in GitHub Desktop.
function init () {
// find widgets by id:
var myStandby = dijit.byId('basicStandby1'),
myForm = dijit.byId('myForm');
// i don't think you need this line, but i haven't studied the BasicStandby widget
//document.body.appendChild(myStandby.domNode);
dojo.connect(myForm, 'onSubmit', function() {
myStandby.show();
});
}
dojo.addOnLoad(init);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment