Created
October 3, 2013 00:13
-
-
Save featherart/6802564 to your computer and use it in GitHub Desktop.
ATM stub file
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
// https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers.onload | |
// The load event fires at the end of the document loading process. | |
// At this point, all of the objects in the document are in the DOM, | |
// and all the images and sub-frames have finished loading. | |
window.onload = function(){ | |
// https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers.onclick | |
// The click event is raised when the user clicks on an element. | |
document.getElementById("checkingDeposit").onclick = function(event){ | |
// Any code you put in here will be run when the checkingDeposit button is clicked | |
}; | |
document.getElementById("savingsDeposit").onclick = function(event){ | |
// Any code you put in here will be run when the savingsDeposit button is clicked | |
}; | |
document.getElementById("checkingWithdraw").onclick = function(event){ | |
// Any code you put in here will be run when the checkingWithdraw button is clicked | |
}; | |
document.getElementById("savingsWithdraw").onclick = function(event){ | |
// Any code you put in here will be run when the savingsWithdraw button is clicked | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment