Quantcast
Viewing all articles
Browse latest Browse all 6517

New Comment on "SpellCheck"

Not sure how old this content is, but I'm experiencing an issue. I recieve an error message telling me: Server was unable to process request. ---&gt; Name cannot begin with the '&lt;' character, hexadecimal value 0x3C. Here is my code: function spellChecker(str) { var strTemp = str; var aryChunks = []; var aryChunks2 = []; var intArrayLength = 0; var spellResults = ''; strTemp = str.replace(/\r?\n|\r/g, ' '); aryChunks = strTemp.split(" "); intArrayLength = aryChunks.length; for(var i = 0; i < intArrayLength; i++){ if(aryChunks[i] != '') { aryChunks2.push("<string>" + aryChunks[i] + "</string>"); } } $().SPServices({ operation: "SpellCheck", chunksToSpell: aryChunks2, declaredLanguage: 1033, 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>