code: function(node, val) {
                  var attr = node.attributes.value;
                  if (!attr) {
                      attr = node[OWNER_DOCUMENT].createAttribute('value');
                      node.setAttributeNode(attr);
                  }
  
                  attr.value = val;
              }
docs: IE: node.value changes the button text, which should be handled via innerHTML