<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>JavaScriptSpellCheck - Hello World</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type='text/javascript' src='include.js' ></script>
</head>
<body>
<textarea name="myTextArea" id="myTextArea" cols="50" rows="20">Hello Worlb. This Example show JavaScript Spellcheck "as-you-Type" and also spellchecking window functionality on the same page. Implementation is easy using only a few lines of Java Script - and will work on alost all modern web hosting packages - both Linux and Windows based. </textarea>
<input type="button" value="Spell Check" onclick="$Spelling.SpellCheckInWindow('myTextArea')">
<br/><br/><br/><a href="http://www.javascriptspellcheck.com/Demos_And_Tutorials">More Examples and Documentation...</a>
<script type='text/javascript'>
$('#myTextArea').on("input", function ()
{
alert('input');
});
$Spelling.SpellCheckAsYouType('myTextArea');
</script>
</body>
</html>
--
You received this message because you are subscribed to the Google Groups "JavaScriptSpellCheck" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascriptspellc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<textarea name="myTextArea" id="myTextArea" cols="50" rows="20" onkeyup="alert($('#myTextArea').val());">
The text displayed here is always one character behind.
I have tried option 2 but the event is still not fired.