How to Detect An Ipad Browser

Detecting iPad browser in Javascript


We can detect iPad browser is by checking the user agent of a browser

if(navigator.userAgent.match(/iPad/i)){
//browser is iPhone or iPod
}

Detecting iPad browser in JQuery



jQuery(document).ready(function($){
var deviceAgent = navigator.userAgent.toLowerCase();
var agentID = deviceAgent.match(/(ipad)/);
if (agentID) {
// do your coding here
}
});


Related Topic Browser Detection in Javascript
Detecting iPhone, IPod
Detect iPhone | iPod | iPad using JQuery
How to Detect Mobile Browser in PHP
Check/Detect Cookie Enabled

nScraps.com 2011   Privacy Policy  Terms of Service  Feedback