How to use two numbers in WhatsApp simultaneously

Hello,

Many of us having two numbers but in WhatsApp we can register with only one number. But now it’s possible to use two numbers in WhatsApp at the same time. A developer from XDA Developers forum resolve this issue by creating an application (OGWhatsApp) that allows the use of two numbers simultaneously on WhatsApp. Here’s how it’s done!

The OGWhatsApp is a modified version of the popular messaging app for Android and it doesn’t require root access to be used. Besides the innovative function allowing you to simultaneously use two numbers.
More Details on OGWhatsApp
Continue reading

How to use Media Query in Javascript?

To make webpage responsive we use lots of media queries. Actually, Media Queries are a CSS feature that allows us to apply different screen width rules to our CSS. In many adaptive application we need to write JavaScript code which supports many devices. But these Media Queries in CSS what about in JavaScript? Can I use it in JavaScript? If yes, then how can I use Media Query in JavaScript?.

Well, now it is possible to use media query in JavaScript with the help of the window.matchMedia function. It is well supported and if you don’t need to support IE8 or lower you may use it without worry. Browser Support for window.matchMedia() is also pretty good.

Example

var mql = window.matchMedia("screen and (min-width: 800px)")
if (mql.matches){ // if media query matches
 alert("Window is 800px or wider")
}
else{
 // do something else
}

Continue reading

input type=number has numeric keyboard with no dot (‘.’) keys in many samsung android devices

I’m developing a web page which having lots of inputs which contents are decimal numbers.
So I tried with <input type=”number” />

But many Samsung android devices displays a numeric keyboard with dot and comma disabled.
While in Nexus 4, same page have a numeric keyboard with dot and comma enabled.

I google this issue, but didn’t find the solution which works for me. I don’t know if there is something I am missing, if there is something I can try, or if something knows that is Samsung Android device’s fault so I can do nothing for this :(.

If you have any solution for this issue please comment it below. Lots of thanks in advance.