Common API

Methods
absLeft returns left element position related to window
absTop returns top element position related to window
attachEvent adds any user-defined handler to available events
date2str converts date into string
detachEvent detaches a handler from an event
newId returns (and reserves) next unique ID for any purposes
s2b converts string to boolean and returns true|false (useful for XML)
s2j converts string into JSON format
screenDim returns top/bottom coords for visible screen area including scrolls
selectTextRange selects text in input/textarea
str2date converts string into date
trim removes spaces in the beginning and end of string
Other
ajax dhtmlx ajax module, please see dhtmlxAjax
dateFormat defines the date format
dateLang defines the language used for date
dateStrings defines a set of strings used for weeks and months' names in the string format
isChrome set to true if browser is Chrome
isEdge set to true if browser is Edge
isFF set to true if browser is Firefox
isIE set to true if browser is Internet Explorer
isIE10 set to true if browser is Internet Explorer 10
isIE11 set to true if browser is Internet Explorer 11
isIE6 set to true if browser is Internet Explorer 6
isIE7 set to true if browser is Internet Explorer 7
isIE8 set to true if browser is Internet Explorer 8
isIE9 set to true if browser is Internet Explorer 9
isIPad set to true if browser is Safari on IPad
isKHTML set to true if browser is Konqueror
isOpera set to true if browser is Opera
promise an interface for working with Promise objects
version version of dhtmlx library
Back to top