title: I am using smsArea() function that is count text on keyup event, but how to count that text when value is append through jq?
body: <p>I am using this.
  <a href="https://stackoverflow.com/a/21955596/7544946">https://stackoverflow.com/a/21955596/7544946</a></p>
  
  <p>My Html</p>
  
  <pre><code>
      &lt;div&gt;
          &lt;span id="smsLength"&gt;&lt;/span&gt;&amp;nbsp chars. left&lt;span&gt;&amp;nbsp of msg&lt;/span&gt;
          &lt;span id="smsCount"&gt;&lt;/span&gt;
          &lt;textarea style="width:100%" rows="5" name="message" value="" id="smsText"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
      &lt;div&gt;
      &lt;p id="msg"&gt;Hello&lt;/p&gt; 
      &lt;button type="button" id="copy_msg"&gt;Copy&lt;/button&gt;
      &lt;/div&gt;
  
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>
      $("#copy_msg").on("click", function(){
        var msg = $("#msg").html();
        $("#smsText").val(msg);
      });
  
  </code></pre>
  
  <p>Javascript </p>
  
  <pre><code>
      &lt;script type="text/javascript"&gt;
         $('#smsText').smsArea();
      &lt;/script&gt;
  
  </code></pre>
  
  <p>Want to count that character when value is append.
  I tried keyup event like this</p>
  
  <pre><code>$("#smsText").trigger('keyup');
  </code></pre>
  
  <pre><code>$("#smsText").keyup();
  </code></pre>
  
  <p>but nothing worked.Any ideas?</p>
  
  <p>Demo: <a href="http://jsfiddle.net/vrunda22/95h61q37/" rel="nofollow noreferrer">http://jsfiddle.net/vrunda22/95h61q37/</a></p>