in partnership with mediatemple

See also

1.1 to 1.11

1.11 has a few minor changes and major fixes.

Changes

  • Element::setText and getText have been added for setting the inner text of an Element. Includes cross-browser support to set the text for <style> and <script> elements.
  • More API consistency. The following functions/methods now return null instead of false for abortive calls: $, Array::getLast, Array::getRandom and Json.evaluate.

Fixes

  • Element::getProperty now returns the correct attribute values for src and href in IE.
  • Array.each is no longer missing as a generic method.
  • Improved Json handling for numbers and undefined values.
  • Improvements to the documentation. Elaborated on the difference between Events and Options, and the inheritance of various classes.