title: How can I validate I have drawn something in jSignature panel or not?
body: <p><code>jSignature</code> is having canvas and it has a class. How can I validate jSignature whether I have drawn something or not ?</p>
  
  <p>I have added one bind for click event.</p>
  
  <pre><code>$sigdiv.bind('click', function(e) {
      $("#num_strok").val(parseInt($("#num_strok").val()) + 1);
  });
  </code></pre>
  
  <p>Problem is even I click some corner also <code>num_strock</code> get increases. And for some dragging it will not increase.</p>
  
  <p>I have tried in Google whether it has any built in <code>isEmpty</code> function is there or not. But I have not found anything. </p>