I know that there is lot of reports that DocumentText
isn't changing but Document.Body.innerHtml
is.
I'm interested only in simply solution how to change it other way than ordinary string (replacing substrings). Is there a possibility to use getElementById().innerText
?
I want to open html file, make changes in and save it.
Asked
Active
Viewed 720 times
1

Bri.H.
- 203
- 3
- 14
-
Or `SgmlReader` - see my answer http://stackoverflow.com/a/11859613/168719 – Konrad Morawski Dec 08 '13 at 14:39
-
So what's wrong with `Document.Body.InnerHtml`/`OuterHtml`? – avo Dec 10 '13 at 04:09
-
Code is altered, missing quotations marks, missing doctype - look here http://stackoverflow.com/questions/16489718/saving-content-of-webbrowser-to-file – Bri.H. Dec 12 '13 at 11:33