Setting <td> value using jquery
        Posted  
        
            by timk
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by timk
        
        
        
        Published on 2010-05-03T21:10:39Z
        Indexed on 
            2010/05/03
            21:18 UTC
        
        
        Read the original article
        Hit count: 288
        
Hello,
I have the div structure shown below. For the second <td> in the table i want to replace   with a hyperlink whose href attribute is stored in the variable myLink.
How can i do this with jquery ?
Please help. Thank You.
<div class="pbHeader">
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody>
         <tr>
             <td class="pbTitle">
               <h2 class="mainTitle">Transfer Membership</h2>
             </td>
             <td>
                     
             </td>
          </tr>
     </tbody>
   </table>
</div>
© Stack Overflow or respective owner