Jquery spell checker

In this article, I will explain about jquery spell checker.We are using following jquery code to check spell in Jquery.This plugin is used to check an area of text within an HTML document.The
plugin comes with an example PHP script that supports two type of spell checking engines:
Example:Jquery spell checker
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>jQuery Spell Checker example</title>
<meta http-equiv="description" content="jQuery spellchecker demo" />
<link rel="stylesheet" type="text/css" media="screen" 
href="css/spellchecker.css" />
</head>
<body>
<div id="textarea-example">
<p>
<label for="text-content">
Add your own text and check the spelling.
</label>
</p>
<textarea id="textarea-1" class="check-spelling" rows="4" 
cols="25"></textarea>
<textarea id="textarea-2" class="check-spelling" rows="4" 
cols="25"></textarea>


<div>
<button id="check-textarea">
Check Spelling
</button>&nbsp;
<span class="loading">loading..</span>
</div>
</div>
<script type="text/javascript" src="
http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>


<script type="text/javascript" src="/js/jquery.spellchecker.js"></script>
<script type="text/javascript">


// check the spelling on a textarea
$("#check-textarea").click(function(e){
e.preventDefault();
$(".loading").show();


$(".check-spelling")
.spellchecker({
lang: "en",
engine: "google",
suggestBoxPosition: "above"
})
.spellchecker("check", function(result){


$(".loading").hide();


if (result) {
alert('There are no incorrectly spelt words for: ' + this.get(0).id);
}
});
});
</script>
</body>
</html>

You can now check spell in Jquery using the above code.I hope,this example will help you to check spell using Jquery

Simple live Demo:http://spellchecker.jquery.badsyntax.co.uk/example-multiple.html