title: Jquery add comma to a pasted string in input
body: <p>I want to add a comma after copy pasting string into input</p>
  
  <pre><code>$("#keywords").bind('paste', function() {
  
     var a=$("#keywords").val();
     alert(a);
    });
  </code></pre>
  
  <p>I tried the above code to check if the pasted value is passed into variable. In alert it is displaying empty value. How can i know if the value of the pasted string is passed into variable and then append comma to the variable.</p>
  
  <p>Here is the <a href="http://jsfiddle.net/v9NG3/" rel="nofollow">fiddle</a></p>