PAX Spell checker plugin
This is an example of a PAX plugin: a spell checker. It uses ajax to communicate with the dictionary on the server side.
View the server side dictionary script here, and the service script here. To view the HTML, look in the source, for the DIV with id of 'exampleSurround'.
To download, go to the download page.
Below you will see how to use the spell plugin, in both a minimal and extended use case
Minimal use case
The spell checker requires a textarea, and a button element, take the following HTML:
Extended use case
The spell checker can also be setup with an auto correct feature, take the following HTML: