title: How to create link in <td> in jquery?
body: <p>I need like following</p>
  
  <pre><code>        &lt;td&gt;
          &lt;a href="/Employee/Edit/1001320"&gt;Edit&lt;/a&gt; |
         &lt;/td&gt;
  </code></pre>
  
  <p>I wrote like following</p>
  
  <pre><code>var employeeaction = $('&lt;td&gt;').append('&lt;a href="/Employee/Edit/'
          +element.id+'"&gt;Edit&lt;/a&gt; |');
  </code></pre>
  
  <p>I parse table by the following code and took element.id</p>
  
  <pre><code>$('#EmployeeTable tr:not(:nth-child(1), :nth-child(2))').each(function () {
                  // alert($(this).find('td').eq(0).text());
                  var employee = {};
                  employee.id = $(this).find('td').eq(0).text();
                  employee.presenAddress = $(this).find('td').eq(1).text();
                  employee.shortName = $(this).find('td').eq(2).text();
                  employee.mobileNumber = $(this).find('td').eq(3).text();
                  employee.department = $(this).find('td').eq(4).text();
                  employee.designation = $(this).find('td').eq(5).text();
                  employee.action = $(this).find('td').eq(6).text();
                  employeeList.push(employee);
              }); 
  </code></pre>
  
  <p>when I click in it it gives me like </p>
  
  <blockquote>
    <p>localhost:10845/Employee/Edit/%201001097</p>
  </blockquote>
  
  <p>I need </p>
  
  <blockquote>
    <p>localhost:10845/Employee/Edit/1001097</p>
  </blockquote>
  
  <p>But it is not working. How can I do it? </p>