Skip to main content

Posts

Showing posts with the label user agent

Detect IPad Javascript

In my current project I am working on IPad and there are some specific things need to be applied on IPad. We can detect end user's browser and environment information from the navigator using the following code. var isIPad = navigator.userAgent.match(/iPad/i) != null ;