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.

Rohkem teavet

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

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.

Muudetud qanavatian.hamzeh poolt

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

Muudetud qanavatian.hamzeh poolt