I have variable holding a html table. there are double quotation marks in this html table.I want to remove html tag from this table. so I applied normal string manipulation method on this variable.but it didn't work.can you help me convert it to a normal string.
here is the try I have done.here the directionDataHolder is holding the html table.
var tmp = document.createElement("DIV");
tmp.innerHTML = directionDataHolder;
var data = tmp.textContent||tmp.innerText;