<!DOCTYPE html> <html> <body> <div contenteditable>sakde <span spellcheck=false>kreid</span> slodv</div> <script> // Adding focus to the textbox should trigger a spellcheck document.querySelector("div").focus(); document.querySelector("div").blur(); </script> </body> </html>