How would you go about finding a string constant that is not HTML-safe?
It appears the following searches for the individual characters.
var i = text.indexOf('»')
How would you go about finding a string constant that is not HTML-safe?
It appears the following searches for the individual characters.
var i = text.indexOf('»')
var i = text.indexOf('\273')
would search for the actual character.
http://www.c-point.com/javascript_tutorial/special_characters.htm explains how to escape special characters in javascript.
Try looking at the html directly.
document.getElementById('search').innerHTML.indexOf('»')
»?