spell as you type by class name

5 views
Skip to first unread message

anjanap...@gmail.com

unread,
May 17, 2016, 5:27:19 AM5/17/16
to PHPSpellCheck
Aren't there any solutions to use the spellAsYouType by using the class name instead of using id ?

SpellChecker Support

unread,
May 19, 2016, 6:19:34 AM5/19/16
to anjanap...@gmail.com, PHPSpellCheck
Hello 
While we investigate -  try this as a fix - which works nicely.  var targets = document.querySelectorAll('.className'); 
    for(var i=0; i< textareas.length ; i++){      $Spelling.SpellCheckAsYouType(targets[i]);
 }  Alternatively - the jQuery Plugin version of the plugin may suit you nicely. http://www.javascriptspellcheck.com/jquery-spell-check/ 
$('.myClassName').spellAsYouType();


On Tue, May 17, 2016 at 4:27 PM <anjanap...@gmail.com> wrote:
Aren't there any solutions to use the spellAsYouType by using the class name instead of using id ?

--
You received this message because you are subscribed to the Google Groups "PHPSpellCheck" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phpspellchec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages