title: jQuery concatenate string to input field
body: <p>I'm trying to concatenate string and display it into my textbox when a td in my table has been clicked.</p>
  
  <p>I did this so far:</p>
  
  <pre><code>   $(document).on("click", ".keywordClick", function () {
              $('.txtKeywords').val($(this).attr('value'));
          });
  
  .keywordClick is td item which contains required string 
  </code></pre>
  
  <p>And </p>
  
  <pre><code>.txtKeywords is the textbox which is empty initially...
  </code></pre>
  
  <p>Each time someone clicks on string I'd like it to be like this:</p>
  
  <pre><code>"Hello world today" =&gt; initial click;
  
  "is a sunny day" =&gt; second click;
  </code></pre>
  
  <p>So the output would be like:</p>
  
  <p>Hello world today is a sunny day... Between each concatenated string should be a empty space " " &lt;&lt; like this... Can someone help me out?</p>