[Solved] onclick / anchor tag- javascript in HTML
[ad_1] Your question is not clear, I assume this might be helpful: // Create anchor tag const a = document.createElement(‘a’); // Add link a.href=”http://yourlink.com”; // Add Text a.innerText=”Custom Link”; // `dataRow` should be a HTML Element dataRow.appendChild(a); [ad_2] solved onclick / anchor tag- javascript in HTML