jquery - Is it possible to know if page is accessed from Browser / Mobile / Tablet -


i have simple html file

<!doctype html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script> $(document).ready(function(){   $("p").click(function(){     $(this).hide();   }); }); </script> </head> <body>  <p>if click on me, disappear.</p> <p>click me away!</p> <p>click me too!</p>  </body> </html> 

is possible know device page accessed , mean browser or mobile / tablet ??

i sorry if not related jquery section .

check out user agent in javascript :) or use made script - check site: http://detectmobilebrowsers.com/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -