-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path03-Example.html
More file actions
19 lines (14 loc) · 1014 Bytes
/
Copy path03-Example.html
File metadata and controls
19 lines (14 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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 type='text/javascript' src='include.js' ></script>
<script type='text/javascript'> $Spelling.SpellCheckAsYouType('myTextArea')</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>
</body>
</html>