JavaScript Reference/Javascript Properties/cookieEnabled
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
"cookieEnabled" Example
<html>
<body>
<button onClick="alert(navigator.cookieEnabled);">Are Cookies Enabled</button>
</body>
</html>
"cookieEnabled" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |clientInformation navigator |
+----------------+--------------------------------------------------------------+
"cookieEnabled" Possible Values
Possible Values
true
false.
"cookieEnabled" Syntax and Note
Note:
Read-only property.
Are cookies enabled.
Syntax:
objectName.cookieEnabled