Am I on mobile or not ?!

How to check if you are on mobile or not :

jQuery:

function GetMobileOrNot() {
var check = false;
  (function ... Code from here);
return check;
}

$( document ).ready(function() {
if( GetMobileOrNot() == true ){//Do something}
else{//Do something else}
Ps: And something more here

Comentarii

Postări populare de pe acest blog

RpiCar

DevExpress Theme Changer ...