diff --git a/index.html b/index.html index bd5ffc0..2db4e2e 100644 --- a/index.html +++ b/index.html @@ -1,29 +1,48 @@ - - + + +
+ + + + + + + + -Please draw your signature on the signature pad below: + + xhr.onreadystatechange = function() { + if (xhr.readyState == 4 && xhr.status == 200) { + console.log('Signature saved successfully:', xhr.responseText); + } + }; - - - \ No newline at end of file + xhr.send('imageData=' + encodeURIComponent(bytes)); + } + + + + + + + \ No newline at end of file