Hey, I'm trying to build a word-based game that has to check if words are valid. i tried using an XML file which contained all of the words in the english language... but I was unable to check all of the nodes using X-Path. Next I tried to read all of the words from an XML file into an array and handle it through that. This also din't work. Now I was wondering if I could use the spell check part of the text-box to simply use the browser's built in spell check.... but I can't seem to get the result of the browser's spell check..... help!
You won't access the result of the browser's spell check. What you need is a plugin implementing the spell check in JS via a "trie" algorithm.
Develop games in your browser. Powerful, performant & highly capable.
Thanks! How would one go about doing this?