|
Basic SpellCheck
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%option explicit%>
<!--#include virtual= "/ASPSpellCheck/ASPSpellInclude.inc"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" http://www.w3.org/TR/html4/loose.dtd>
<html>
<head>
<title>ASPSpellCheck Sample</title>
</head>
<body>
<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World.
</textarea>
<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"
response.write myLink.imageButtonHTML ("","","")
set myLink=nothing
%>
</body>
</html>
Outcome:
Notes:
Use buttonHTML, buttonXHTML, imageButtonXHTML or linkHTML methods instead of imageButtonHTML for different types of spell-check link.
|