9 lines
375 B
JavaScript
9 lines
375 B
JavaScript
|
|
||
|
window.addEventListener('DOMContentLoaded', function(event) {
|
||
|
var submitButton = document.getElementById('submit-button');
|
||
|
var submitButtonClicked = document.getElementById('submit-button-clicked');
|
||
|
document.getElementById('submit-button').onclick = function() {
|
||
|
submitButton.className = "display-none";
|
||
|
submitButtonClicked.className = "waiting-pulse";
|
||
|
}
|
||
|
});
|