title: Javascript string concatenation error
body: <pre><code>&lt;a href="#"&gt;{{ meeting.date }}&lt;/a&gt;
  
  
  $('.meet a').click(function() {
      var txt = $(this).text();
      var url = "http://localhost:8000/meeting_display/" + txt;
      $("a").attr("href", url);
  });
  </code></pre>
  
  <p>In the above function, I am trying to go to a url on click on the anchor element. 
  But everytime, the value of <strong>url</strong> is "<a href="http://localhost:8000/meeting_display/%20" rel="nofollow">http://localhost:8000/meeting_display/%20</a>*value of <strong>txt</strong> *</p>
  
  <p>Thus I am not able to create a hyperlink to the intended page. Please help me.</p>