ASPSpellLink.javaScriptCallback

When the spell checking is complete - a JavaScript function can be called in your web-page. 
The name of this function is set by javaScriptCallback .

This is ideal for submitting forms after spellchecking.

You may use a different function for each spell-check button.

Example:

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

<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World. Ths iz a tezt sampl.
</textarea >

<%

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

myLink.javaScriptCallback = "allDone"

response.write myLink.imageButtonHTML("","","")
set myLink = nothing
%>

<script language= "javascript">
function allDone (){
alert ('Spellchecking Completed')
}
</script>