var str = document.body.innerHTML; var newStr0 = str.split("<td").join("<th"); // replace <td with <th var newStr1 = newStr0.split("</td>").join("</th>"); // replace </td> with </th> document.body.innerHTML = newStr1;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)