+ 19
How to find the device is mobile or pc using javascript?
From which code you can find what type of device is it like Android, Windows Phone, ipod, ipad, iphone, chrome or firefox and etc.. if the user is on your website??
2 Answers
+ 4
? different question @Chirag
in js, use navigator.userAgent
+ 6
In such a case we use the <noscript> tag so as to display an error message if JavaScript is disabled