Git Product home page Git Product logo

tommumbles's Introduction

jQuery Spellcheck Plugin

A jQuery plugin that adds spellcheck support to inputs. It uses Google's spell checking API and requires a server to handle the communication with the API. An example php implementation is provided.

It has several configurable options.

  • lang: the 2 letter language code, defaults to en for english
  • events: a space separated string of events to use, default is 'keypress blur paste'
  • autocheck: number of milliseconds to check spelling after a key event, default is 750.
  • url: url of the spellcheck service on your server, default is spellcheck.php
  • ignorecaps: 1 to ignore words with all caps, 0 to check them
  • ignoredigits: 1 to ignore digits, 0 to check them

If there are spelling errors it outputs them to a div with the ID "spellcheckresults" appended to the body and positioned directly under the input. Within this div it creates a definition list (<dl>) with the misspelled word as the title (<dt>) and each suggestion as the definition (<dd>).

License

The spellcheck plugin is licensed under the MIT License (LICENSE.txt).

Copyright (c) 2010 Brandon Aaron

tommumbles's People

Contributors

heckmarr avatar

Watchers

Ben avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.