Page 1 of 1
HTMLText back to normal text
Posted: Mon Sep 19, 2011 7:17 pm
by Pebah
I'm putting the htmlText of the styled text of field 1 into field 2. I modify the HTML of the second field. Now I want to put that new HTML back into field 1 displayed as regular styled text. Is there a command for this?
Re: HTMLText back to normal text
Posted: Mon Sep 19, 2011 7:31 pm
by mwieder
set the htmlText of field 1 to the htmlText of field 2
Re: HTMLText back to normal text
Posted: Mon Sep 19, 2011 7:46 pm
by Pebah
That seems to just put the contents of field 2 into field 1 (the raw HTML).
Re: HTMLText back to normal text
Posted: Mon Sep 19, 2011 7:50 pm
by Pebah
I've got it:
set the HTMLText of field 1 to the text of field ID 2
Re: HTMLText back to normal text
Posted: Mon Sep 19, 2011 8:52 pm
by mwieder
ah - ok, now I see what you're trying to do.