Checking the version is more reliable by using object checking than the
useragent string checking, or you can use both to increase the reliabilty.
IE 7:
if ( document.all && !window.opera && window.XMLHttpRequest &&
$.browser.msie ) var isIE7 = true;
or in HTML which is much better:
var isIE7
I noticed Firefox 3rc3 with $.browser.version returns 1.9 (Gecko
version?)
On Jun 16, 8:38 am, mtest <[EMAIL PROTECTED]> wrote:
> I know that jQuery can define browser:
> $.browser.msie
> $.browser.safari
> $.browser.opera
> $.browser.mozilla
> but can I define version???
> IE 7.0 - ?
> IE 6.0 -
On Jun 16, 4:38 pm, mtest <[EMAIL PROTECTED]> wrote:
> I know that jQuery can define browser:
> $.browser.msie
> $.browser.safari
> $.browser.opera
> $.browser.mozilla
> but can I define version???
> IE 7.0 - ?
> IE 6.0 - ?
> IE 5.0 - ?
Browser detection is almost always based on the user agent s
also know that mozilla's version can get by $.browser.version
$.browser.version
On Jun 16, 7:38 am, mtest <[EMAIL PROTECTED]> wrote:
> I know that jQuery can define browser:
> $.browser.msie
> $.browser.safari
> $.browser.opera
> $.browser.mozilla
> but can I define version???
> IE 7.0 - ?
> IE 6.0 - ?
> IE 5.0 - ?
5 matches
Mail list logo