ajaxCallBack

Ajax is an asynchronous technology. A request is sent for data, and then it is returned some time later.
The code we use to handle this returned data is called a callBack function.

The arguments sent to this function are:

  • true if spelling is ok
  • an array of ranked spelling suggestions if the spelling is bad
  • null in case of a server error or if Ajax is unavailable

Read More...

Example

<script src="/JavascriptSpellCheck/Include.js" type= "text/javascript"></script>

<script type= "text/javascript">

oSpell.ajaxCallBack=function(result){
alert (result)
}

oSpell.ajaxSpellCheck('Any string or variable you like')

</script>