[jQuery] jQuery may add $.browser.isiPhone

[jQuery] jQuery may add $.browser.isiPhone


i found there is a method which can detect if your use is browsering
your site on iPhone,
function isiPhone() {
var agent = navigator.userAgent.toLowerCase();
return agent.match(/iPhone/i);
}
this method defined in http://images.apple.com/global/scripts/browserdetect.js
maybe jQuery may add a new function, $.browser.isiPhone, for further,
since iPhone allows developers do more in its safari... :)
--
Zacky Ma
www.marchbox.com