jQuery Auto Correct Plugin
Switch branches/tags
Nothing to show
Clone or download
tariquesani Merge pull request #1 from takahashiyuya/master
fixed example.html, because it doesn't work due to a naming typo
Latest commit 888fa3e Jan 25, 2013



The plugin to auto-correct words in textboxes or textareas as per given configuration like 'teh' to 'the', 'taht' to 'that', 'ur' to 'you are' etc.

Works with jQuery-1.7.2 on all latest versions of major browsers like Firefox, Seamonkey, Chrome, IE, Safari, Opera etc.


Include plugin file (generally in 'head' tag), something like <script src="jquery.autocorrect.js" type="text/javascript"></script>

Configure your textboxes/textareas something like


        corrections: {
            arent: "aren't",
            aboutit: "about it"

    $("#textarea").autocorrect({ corrections: { aboutit: "about it" } });

As you see, first textbox has auto-correct attached with no options, second with 'arent' (which already exists in default options but you can over-write it) and 'aboutit' (this is new one which does not exist in default corrections) then third one is textarea


Please see examples.html