How to use an hidden character in text string using JavaScript.There is one text string which i read and writes back with the hidden character in it (so rewritten text looks sam
Since you are using javascript why don't you just add a property to the div:-
var divs = document.getElementByTagName("div"); for (var i = 0, length = divs.length; i < length; i++) { if (!divs[i].hasBeenRead) { fnReadDiv(divs[i]); divs[i].hasBeenRead = true; } }