why any "firefox android" not work correctly with "js code"?
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.
由 qanavatian.hamzeh 於
所有回覆 (1)
i update my firefox-android from 56.0 to 57.0 and that's solved and working good. thanks alot mozilla-support
由 qanavatian.hamzeh 於