Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Updated Wiki: SpellCheck

$
0
0

Function

$().SPServices

Web Service

 

SpellCheck

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>