brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
690 stars 529 forks source link

jSignature(getData native) is empty #171

Open TianqiHo opened 5 years ago

TianqiHo commented 5 years ago

There is my test code:

  1. var sigData = $(".g-canvas").jSignature('getData','default');
  2. $(".g-canvas").jSignature('clear');
  3. $(".g-canvas").jSignature('setData',sigData);
  4. var arrayData = $('.g-canvas').jSignature('getData', 'native');

    the 'arrayData' is empty,where did i go wrong?

effect question

FionaWong commented 3 years ago

i has the same problem