javascript

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…

How to select by Value/Text in ddSlick

ddSlick is a free light weight jQuery plugin that allows you to create a custom drop down with images and description. Recently in some projects I had to use ddSlick. While using I faced a huge problem, How to make a option selected by option value or it's text dynamically…