TOC PREV NEXT INDEX

domref



window.navigator.cookieEnabled


Returns a boolean value indicating whether cookies are enabled or not.

Syntax

res = window.navigator.cookieEnabled
 

Parameters

res is a boolean True or False.

Example

if (window.navigator.cookieEnabled) {
 
  // set a cookie
 
}
 

Notes

None.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX