Created
September 29, 2010 20:01
-
-
Save unscriptable/603432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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