Download

JSLab DOM Correction - 2112 downloads so far

IE 8 Beta seems to cough on JDC. Being a beta we will not make any efforts to support IE 8 until the final release.
  • Use the default settings if you are not sure what to get:
  • HTMLElement
  • Internet Explorer
    Click to expand
  • Internet Explorer
    Click to expand
    • Internet Explorer Click to see notes
      Attributes 'class', 'for', 'style' and 'accessKey' is correctly reported.

      Event handlers are correctly reported as strings instead of anonymous functions.

      Note that the 'href' property of A tags are reported as an absolute URL when specified in the document in IE 6 and 7 no matter what the attribute actually contains. If the attribute value is set by script then reading the attribute will show correctly. There is no way to work around this.
    • Internet Explorer Click to see notes
      Implementation of W3C Element.hasAttribute which allows you to check whether a given attribute is defined on an element.

      For attribute 'coords' of A and AREA tags hasAttribute will always return true if the coords attribute is specified as this attribute cannot be removed in IE 6 + 7.
    • Internet Explorer Click to see notes
      Implementation of W3C Element.hasAttributes which allows you to check whether a given element has any attributes defined.

      See also notes for HTMLElement.hasAttribute.
    • Internet Explorer Click to see notes
      Event handlers are correctly removed.
    • Internet Explorer Click to see notes
      Attribute 'style' is correctly removed.
      Event handlers are correctly removed.
    • Internet Explorer Click to see notes
      Attributes 'class', 'for' and 'style' are correctly set.
      Event handlers are correctly set.
    • Internet Explorer Click to see notes
      Attributes 'class', 'for' and 'style' are correctly set.
      Event handlers are correctly set.
    • Internet Explorer Click to see notes
      The native IE implementation expects the second parameter to be an integer specifying the index in the options collection where the new option should be inserted.
      IE allows you to leave out the second paramter but it can not be null. This makes it incompatible with the W3C specification implemented by Mozilla.

      Including this module will correct the behavior of IE to comply with W3C.
  • Internet Explorer
    Click to expand
    • Internet Explorer Click to see notes
      Correcting IE's own styleFloat to match cssFloat
    • Internet Explorer Click to see notes
      IE has its own opacity mechanism. This module will let you set the opacity as you are used to in Firefox.
  • DOM 2 Events
  • Internet Explorer
    Click to expand
  • Internet Explorer
  • Internet Explorer
  • Internet Explorer
  • Internet Explorer

Create file


Minimizing the file size by stripping all comments and format is currently a beta function. Please report any problems using our contact form.
"32 k minified just for event handling?!? I think this is one we need the IE team to include natively."

Comment on Ajaxian.com