ASPSpellLink.buttonXHTML(buttonText,CSSclass)

The method buttonXHTML returns a W3C compliant  XHTML string which can be used to add an XHTML button to your ASP page.  When this button is clicked, the ASPSpellCheck dialog will be opened.

Example button:
spelButton

The parameter buttonText represents the ALT text for the button. If set empty string (e.g. "") the default value will be "Spell Check"

The parameter CSSclass allows you to nominate a CSS class to be applied to the button. If set to and empty string (") then no CSS class will be applied.

ASP VBScript Source Code:

<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->

<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >Hello World. Ths izateztsampl.  </textarea >

<% 
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"

response.write myLink.ButtonXHTML("Spell Check","myButtonClass")
' renders an XHTML button

set myLink= nothing
%>

Result:

spellbox