ASPSpellLink.buttonHTML(buttonText,CSSclass)

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

Example button:
spell button

The parameter buttonText represents the ALT text for the button. If set to an 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.ButtonHTML("Spell Check","myButtonClass") ' renders an HTML button

set myLink= nothing
%>

Result:

spelling text box with a button