brinley / jSignature

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

using the vector formats for images on IE #19

Closed giswebmaster closed 10 years ago

giswebmaster commented 12 years ago

any chance you guys will be producing something that will convert the vector data into an usable image format that will display on IE (8+), or is there something already out there that can be used?

dvdotsenko commented 12 years ago

https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills

giswebmaster commented 12 years ago

is there a way to determine if the signature pad was signed or not? I do not see an intuitive way to do this (syntax example would be very helpful)

dvdotsenko commented 12 years ago
$('#signature').bind('change', function(e){
    if ($(e.target).jSignature('getData','native').length) {
        // data has non-zero length = we have strokes
        // Enabling form submit button:
        $myform.find('input').prop('disabled', false)
    } else {
        $myform.find('input').prop('disabled', true)
    }
})