i use detect mobile browsers (http://detectmobilebrowsers.com/) to detect iPhones and other smartphones. now i want to add also tablets like iPad. On the website you can find the following hint for this:
Android tablets, iPads, Kindle Fires and PlayBooks are not detected by design. To add support for tablets, add |android|ipad|playbook|silk to the first regex.
Actually my code is like this:
if($.browser.mobile) 
{ 
   // it is mobile browser
}
else
{
   // no mobile browser 
}
How do i have to add the other attributes? ("|android|ipad|playbook|silk")?
 
     
    