Search:
Class o2.Supports
static
class
o2.Supports
Function Summary
static
ajax()
Checks whether AJAX (At least XmlHttpRequest Level 1) is supported.
Usage example:
var isAjaxSupported = o2.Supports.ajax();
static
cookie()
Checks for cookie support.
Usage example:
var isCookieSupported = o2.Supports.cookie();
static
dom()
Checks whether DOM is adequately supported.
Usage example:
var isDomSupported = o2.Supports.dom();
Function Details
function ajax
static
ajax()
Checks whether AJAX (At least XmlHttpRequest Level 1) is supported.
Usage example:
var isAjaxSupported = o2.Supports.ajax();
Returns:
true
if AJAX is supported,
false
otherwise.
Throws:
Exception - if
o2.Ajax
does not exist.function cookie
static
cookie()
Checks for cookie support.
Usage example:
var isCookieSupported = o2.Supports.cookie();
Returns:
true
if cookies are supported,
false
otherwise.
Throws:
Exception - if
o2.Cookie
does not exist.function dom
static
dom()
Checks whether DOM is adequately supported.
Usage example:
var isDomSupported = o2.Supports.dom();
Returns:
true
if DOM is supported,
false
otherwise.
Checks support for various objects and properties like DOM and cookies.