title: JS OR Jquery to Add Link to List items
body: <p>how would I add a link to each list item?</p>
  
  <p>basically I have a list and i want to use js or jquery to added in href for my search page. </p>
  
  <pre><code>&lt;aside class="listlinks"&gt;
          &lt;ul&gt;
              &lt;li&gt;CRM&lt;/li&gt;
              &lt;li&gt;CTI&lt;/li&gt;
              &lt;li&gt;Call Center&lt;/li&gt;
              &lt;li&gt;Data warehouse&lt;/li&gt;
              &lt;li&gt;Documentum D2&lt;/li&gt;
              &lt;li&gt;MDM&lt;/li&gt;
              &lt;li&gt;SharePoint&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/aside&gt;
  
  $('.listlinks').each(function(){
      $(this).wrapInner('&lt;a href="\search.php?' + $(this).html() + '" /&gt;');
  });
  </code></pre>