findText method in createTextRange problem?
var PageRange = document.body.createTextRange();
PageRange.findText("Ethics"); // by default forward only
Find/Next when it reaches end of search in current section, we load next section. That time the above code searches backward also.
What could be the problem in this scenario?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)