Skip to content

Instantly share code, notes, and snippets.

@JimboFromLimbo
Created June 23, 2016 23:46
Show Gist options
  • Save JimboFromLimbo/e3774d4ce5d16d86cf2cd4575c38ed08 to your computer and use it in GitHub Desktop.
Save JimboFromLimbo/e3774d4ce5d16d86cf2cd4575c38ed08 to your computer and use it in GitHub Desktop.
studentSignaturePad = new SignaturePad(document.getElementById('student-signature-pad'), {
var saveButton = document.getElementById('submit');
var cancelButton = document.getElementById('clear1');
cancelButton.addEventListener('click', function (event) {
studentSignaturePad.clear();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment