age - w2utils.age(dateStr)
Returns age in human readable format.
Decodes string using base64 method.
Encodes string using base64 method.
date - w2utils.date(dateStr)
Returns date in human readable format.
Encodes HTML tags.
Escapes id for the use in jQuery.
Returns date in requested format.
Returns date and time in requested format.
Formats a number adding commas.
Returns time in requested format.
getSize - w2utils.getSize(el, type)
Returns the size or absolute position of the element in px including padding, margin and border.
Returns true if str is alpha-numeric.
isDate - w2utils.isDate(str, [format])
Returns true if str is a date.
Returns true if str is a valid email address.
Returns true if str is a float number.
isHex - w2utils.isHex(str)
Returns true if str is a hex number.
isInt - w2utils.isInt(str)
Returns true if str is a integer number.
Returns true if str is in money format.
Returns true if str is a valid time.
lang - w2utils.lang(phrase);
Returns translation for the phrase.
locale - w2utils.locale(locale);
Loads new locale
lock - w2utils.lock(box, message, showSpinner)
Locks HTML element.
Returns width of a scrollbar
Returns human readable file size.
Removes all HTML tags.
transition - w2utils.transition(div_old, div_new, type, [callBack])
Transitions two absolute divs.
Unlocks HTML element.