Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
Setting SpellCheck attribute not working in igCombo
posted

Setting spellcheck = false programmatically using below code in igCombo is not working in iPad.

I need to turn of spell check in my application even it is turned on in iPad settings. Please let me know how to fix this.

     function removeSpellCheck(){

          $("input[type='text'],input[type='tel'],input[type='email'],input[class^='ui-igcombo-field']").each(function(){

              if(!$(this).is('[spellcheck]')){

                     $(this).attr('spellcheck','false')

              }else if($(this).attr('spellcheck') == "true"){

                     $(this).attr('spellcheck','false')

              }

           })

     }