Quantcast
Viewing all articles
Browse latest Browse all 6517

Updated Wiki: SpellCheck

Function

$().SPServices

Web Service

SpellChecker

Operation

SpellCheck

Example

This is adapted from an example by TechnSmile in this discussion thread.


var chunks = "Thhank yoou Marck ;)".split(" ");for (i=0; i<chunks.length; i++){
  chunks[i] = "<string>"+ chunks[i] + "</string>";
}var spellResults;
$().SPServices({
  operation: "SpellCheck",
  chunksToSpell: chunks, 
  declaredLanguage: 1033, // use 1033 for english
  useLad: false,
  completefunc: function(xData, Status){
    alert(xData.responseText)
  }
});

Viewing all articles
Browse latest Browse all 6517

Trending Articles