Please HELP!
Trying to modify a rich text box programmatically through the DOM using Jscript.
I simply want to add a name and date to the end of the rich text box without losing the formatting. (Modifying the .text field removes all formatting)
I believe that I have to create an XML navigator or node or property.
All I have so far is
var XMLnav = new ActiveXObject("Microsoft.XMLDOM"); or var nav = new ActiveXObject("Msxml2.DOMDocument");
I then try this code:
XMLnav.setProperty("SelectionNamespaces", 'xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-02-04T19:13:24"');
but the nodes are all null.
I'm completely lost.
Thanks very much for your help!
Dave