jQuery Spellchecker - Textarea demo

This page demonstrates how to use the spellchecker on form fields. You can also view the basic version.

// Init the text spellchecker
var spellchecker = new $.SpellChecker('.textarea', {
  lang: 'en',
  parser: 'text',
  webservice: {
    path: '../webservices/php/SpellChecker.php',
    driver: 'google'
  suggestBox: {
    position: 'above'
  incorrectWords: {
    container: '#incorrect-word-list'

// Bind spellchecker handler functions
spellchecker.on('check.success', function() {
  alert('There are no incorrectly spelt words.');

// Check the spelling when user clicks on button