> 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).
>

----- Is there any other method I need to use?

----- Also, In the HTML element of the page, i add a new attribute and
it's lost when I navigate back to the page using history. Are these
the symptoms of the same problem?

code snippet:
nsIDOMWindow domWindow = (nsIDOMWindow)
_webBrowser.getContentDOMWindow();
nsIDOMDocument dom = domWindow.getDocument();
dom.getDocumentElement().setAttribute("hello", "world");
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to