Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to detect your website is running on mobile or web browser with jquery

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 107
    Comment on it

    If you would like to know your web application running on which platform like mobile or web browser. Please use the below code for the same.

    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ){
    alert('This is mobile');
    }else{
    alert('This is web browser');
    }
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: