This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

why any "firefox android" not work correctly with "js code"?

  • 1 èsì
  • 5 ní àwọn ìṣòro yìí
  • 2 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ qanavatian.hamzeh

more options

Hi, I'm ui developer, and

Below js code working good everywhere else 

FireFox browsers(nighty, beta, alpha) android os. In ios, iphones is good.

http://jsfiddle.net/qhq1367/JQ928/196/

$("input.EnglishOnly").bind("keyup input past", function() { var a=$(this).val();

$(this).val("");

if (a!=a.replace(/[^a-zA-Z\s]/,""))

 {console.log("press english charsss plz");}

var alength=a.length; for (var i=0;i<=alength;i++)

  {a=a.replace(/[^a-zA-Z\s]/,"");}

$(this).val(a); });


In firefox android Typing: ASDFg Restlut be: AASASDASDFASDFg

http://jsfiddle.net/qhq1367/JQ928/196/

Please help me In every firefox is working good else android.

Thanks alot.

Hi, I'm ui developer, and Below js code working good everywhere else FireFox browsers(nighty, beta, alpha) android os. In ios, iphones is good. http://jsfiddle.net/qhq1367/JQ928/196/ $("input.EnglishOnly").bind("keyup input past", function() { var a=$(this).val(); $(this).val(""); if (a!=a.replace(/[^a-zA-Z\s]/,"")) {console.log("press english charsss plz");} var alength=a.length; for (var i=0;i<=alength;i++) {a=a.replace(/[^a-zA-Z\s]/,"");} $(this).val(a); }); In firefox android Typing: ASDFg Restlut be: AASASDASDFASDFg http://jsfiddle.net/qhq1367/JQ928/196/ Please help me In every firefox is working good else android. Thanks alot.

Ti ṣàtúnṣe nípa qanavatian.hamzeh

All Replies (1)

more options

i update my firefox-android from 56.0 to 57.0 and that's solved and working good. thanks alot mozilla-support

Ti ṣàtúnṣe nípa qanavatian.hamzeh