-
-
Save liondancer/02eb7062ac8a83eb483c 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
<form id="test-form" action="/test/" method="post"> | |
<div class="test-button-set"> | |
<button type="button" id="hdfs-test" class="btn btn-default btn-lg selected">HDFS</button> | |
<button type="button" id="hive-test" class="btn btn-default btn-lg">HIVE</button> | |
<button type="button" id="hdfs-hive-test" class="btn btn-default btn-lg">BOTH</button> | |
</div> | |
<button id="submit-test" type="submit" class="btn btn-default btn-lg">Submit</button> | |
</form> |
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
var testRun = document.getElementById("test-form"); | |
testRun.addEventListener('submit', function(event) { | |
// logic | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment