SyntaxFix
Write A Post
Hire A Developer
Questions
Here's my code, and it works:
function parseTableHtml(s) { // s is string var div = document.createElement('table'); div.innerHTML = s; var tr = div.getElementsByTagName('tr'); // ... }