Edit JavaScript code to accept Arabic numbers (NOW)
Budget: $10 – $30 USD
i have a wordpress plugin that allow customers to login with mobile number and one time password (SMS OTP),,
The OTP form (HTML INPUT TYPE TEXT) is only accepting English numbers i.e. 123456789
i need to correct the JavaScript code to accept Arabic number and convert it into english while typing
0 ٠
1 ١
2 ٢
3 ٣
4 ٤
5 ٥
6 ٦
7 ٧
8 ٨
9 ٩
The OTP form (HTML INPUT TYPE TEXT) is only accepting English numbers i.e. 123456789
i need to correct the JavaScript code to accept Arabic number and convert it into english while typing
0 ٠
1 ١
2 ٢
3 ٣
4 ٤
5 ٥
6 ٦
7 ٧
8 ٨
9 ٩