Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<script type="text/javascript">
var theRange = null;
window.onload = function() {
try {
theRange = document.getElementById('myText').createTextRange();
} catch(e) {}
if (theRange == null) {
alert('There was an error creating a textRange. Perhaps your browser doesn\'t support them.');
}
}
function findNext() {
if (theRange != null) {
theRange.findText('[ ]');
theRange.select();
var charsMoved = theRange.moveStart('character', 3);
if (charsMoved == 0) {
var startAgain = window.confirm('No more matches found. Start again from the beginning?');
if (startAgain) {
theRange.moveStart('textedit', -1);
findNext();
}
}
}
}
</script>
</head>
<body>
<form>
<textarea id="myText" cols="40" rows="5">Here is some text [ ], and here is some more [ ], and yet even more text! [ ]</textarea>
<br />
<input type="button" onclick="findNext();" value="Find next" />
</form>
</body>
</html>