Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<textarea "$varName" $varName autofocus>>
<label for="wordList">Unrecognized words (with suggestions):</label>
<select id="wordList" size=10 style="min-width: 300px; height: 215px;">
</select>
[[Next Passage Test|Start]]
<<script>> /* Put this code in any passage that has a <<textarea> to be checked. */
$(document).on(":passagerender", function (event) {
if (setup.JSLoaded) {
/*
If you change the variable name used in the <<textarea>>
macro above, then you need to change "varname", in the
four places below, to the lowercase version of the variable
named in the <<textarea>> macro above (without the "$").
*/
$(event.content).find("#textarea-varname").on("change input paste", null, "varname", setup.checkWords);
setup.checkWords("varname");
} else {
/* Handles the case where the JavaScript hasn't loaded yet. */
setup.waitOnJSLoad("varname");
}
});
<</script>><<set $varName = "This is a test of the spellchecker to see what words fail.">>