JS

JS number conversion to Bangla

Recently while working on a Bangla language based project, I had to make a tiny plugin which can convert regular numbers to Bangla numbers. I hope it will help saving people's time. Let's see the codes in action, toBangla function function toBangla (str) { //check if the `str` is not string…

Get Android Version using JS

Sometimes as a web application developer many of us need to apply some features or fixings based on Android OS version. I use simple JS code which very simple and handy when I need to detect Android OS version. function whichAndroidV() { var userAgent = navigator.userAgent.toLowerCase(); var check = userAgent.match…