EN RU
Forum

Methodology

Technology

Toolbox

Libraries

Tutorials

JSDocSource

Module dom

some DOM utils

Object methods:

contains(ctx, domElem):Boolean
description
Checks whether a DOM elem is in a context
parameters
ctx
jQuery
DOM elem where check is being performed
domElem
jQuery
DOM elem to check
getFocused():jQuery
description
Returns current focused DOM elem in document
containsFocus(domElem):Boolean
description
Checks whether a DOM element contains focus
parameters
domElem
jQuery
isFocusable(domElem):Boolean
description
Checks whether a browser currently can set focus on DOM elem
parameters
domElem
jQuery
isEditable(domElem):Boolean
description
Checks whether a domElem is intended to edit text
parameters
domElem
jQuery