Include the client JavaScript & CSS libraries
<link rel="stylesheet" type="text/css" href="dbnetsuite.css.ashx" />
<script language="JavaScript" src="dbnetsuite.js.ashx"></script>
Client-side configuration script
<script>
jQuery(document).ready( init )
function init()
{
jQuery("#biography")[0].contentEditable = true;
var dbnetspell1 = new DbNetSpell("dbnetspell1");
with (dbnetspell1)
{
connectionString = "DictionaryDatabase"
dictionaryTableName = "english_us"
registerElement("biography")
initialize()
}
}
</script>
HTML markup
<table>
<tr>
<td>
<div id="biography" style="line-height:150%;width:400px;height:200px;border:1pt solid silver;"><b>Considred</b> <span>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 storeis has meant that none have ever gone out of print. </span><span>He</span> <span>wrote serial novels, which was the usual format for fiction at the time, and each new part of his storeis would be eagerly antcipated by the reading public.</span>
</div>
</td>
</tr>
</tr>
<td>
<div id="dbnetspell1" style="float:right"></div>
</td>
</tr>
</table>