(Your questions are really DOM questions, so you should really ask in
the DOM newsgroup rather than here)
maximusvn wrote:
doc.getElementById("audiotarget").value = "D:\\Docs";
[...]
but the "audiotarget" element in xml string does not changes to
"D:\\Docs"; I have no idea what's wrong as I am a newbie to XML. Pls
help me. Thanks in advance.
If you want to set attributes, you should use
doc.getElementById("audiotarget").setAttribute("value", "D:\\Docs") instead.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom