On 2/12/10 12:50 PM, Jeeva wrote:

Attributes?  Or properties?  That is, GetAttribute("value"), or GetValue()?

for every element in the DOM, i parse the attributes as follows:

nsIDOMNamedNodeMap attributes = node.getAttributes();
long len = attributes.getLength();
for (int i = 0; i<  len; i++)
{
          nsIDOMNode attr = attributes.item(i);
          String attrName = attr.getNodeName();
          String attrValue = attr.getNodeValue();
}

Oh. That's reading the _default_ value, not the _current_ value. So yeah, that won't show the effects of form-state restoration (which only sets the current value).

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to