Javascript

Hello Support, I have this JS and JQ. Would like to integrate it in CERTAIN table in the website.

Where do I put it it and call it?

$(function(){

$('#soc-med-table tr td:nth-child(2)').each(function(){

  let tr = $(this).html()

    let link = `<a href="https://link/${tr}">${tr}</a>`;

  $(this).html(link);

 })

  

Comments

Sign In or Register to comment.