Revision: 56780
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 15, 2012 20:13 by paul0078
Initial Code
if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) { alert('You are using an iPhone, ipod or an ipad'); }
Initial URL
Initial Description
Initial Title
Detect iPhone and iPad
Initial Tags
javascript, iphone
Initial Language
JavaScript