title: js How to add href + text onclick
body: <p>I need to pass (using javascript) text inside span to href</p>
  
  <pre><code>&lt;div class='tableCell'&gt;&lt;span&gt;information&lt;/span&gt;&lt;/div&gt;
  &lt;div class='tableCell'&gt;&lt;span&gt;contact&lt;/span&gt;&lt;/div&gt;
  &lt;div class='tableCell'&gt;&lt;span&gt;about&lt;/span&gt;&lt;/div&gt;  
  </code></pre>
  
  <p>for example when i click to about link must be example.com/tag/about/</p>