Example
Source
Run as server control
Use
DbNetSpell
to add spell checking capabilities to a textarea
Biographical Details
Considered one of the greatest writers in the English language, he was acclamed for his rich storytelling and memorable caracters, and acheived massive worldwide popularity in his lifetime.The popularity of his novels and short stories has meant that none have ever gone out of print. He wrote serial novels, which was the usual format for fiction at the time, and each new part of his stories would be eagerly antcipated by the reading public.
Include the Javascript library file
<script src="../dbnetspell.js"></script>
Client-side script
window.onload = initialise var biog ////////////////////////////////////////////////////////////////////////////////////////////// function initialise() ////////////////////////////////////////////////////////////////////////////////////////////// { biog = new DbNetSpell("biography"); }
HTML
<TABLE> <TR> <TD><H3>Biographical Details</H3><TD> </TR> <TR> <TD> <TEXTAREA ID=biography STYLE="width:400;height:200">Considered one of the greatest writers in the English language, he was acclamed for his rich storytelling and memorable caracters, and acheived massive worldwide popularity in his lifetime.The popularity of his novels and short stories has meant that none have ever gone out of print. He wrote serial novels, which was the usual format for fiction at the time, and each new part of his stories would be eagerly antcipated by the reading public. </TEXTAREA> </TD> </TR> <TR> <TD VALIGN="middle" style="WIDTH:30"> <BUTTON onclick='biog.checkElement()' title="click to check spelling"><IMG SRC="spell.gif"></BUTTON> </TD> </TR> </TABLE>