Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using jSignature in Intraweb and storing the signature data in an async event
#1
I am integrating https://github.com/brinley/jSignature to make a signature in a html page.
It's to sign a work order by a customer much like parcel delivery services uses it.

Integrating and using the library works. Now I would like to store the signature data in the database. For this I need to send the signature data to the server. First idea was to use

Code:
function sendSignature() {
  var $sigdiv = $('#signature');
 
  var signatureData = $sigdiv.jSignature("getData");
  ajaxCall("StoreSignature", "&signature="+signatureData, false);
}

The url gets too long this way. Long question short: How do I get the signature data to the server? Can I POST the data? Is there some example for this?

PS I don't mean to get the data in a compressed format like image/jSignature;base30, another export format.
Reply


Messages In This Thread
Using jSignature in Intraweb and storing the signature data in an async event - by jeroen.rottink - 02-19-2020, 10:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)