mattscotney
Programmer
Hi all,
Does anyone know how to extract a pages innerHTML with asp?
I can extract the source using the xmlHTTP or Inet objects, but I can not work out how to extract the innerHTML.
DEFINITION: InnerHTML for this question is the source code generated by the browser. It is not the regular view source.
EXAMPLE: The below code when placed in a html file and executed will display hello world on the screen. The innerHTML contains only the character, and not the ASCII numeric value.
<HTML>
<BODY>
& # 104; & # 101; & # 108; & # 108; & # 111; & # 032; & # 119; & # 111; & # 114; & # 108; & # 100;
</BODY>
</HTML>
NOTE: To make the above code work correctly make sure to remove all the spaces.
Above codes innerHTML:
<HTML>
<BODY>
hello world
</BODY>
</HTML>
How do I extract the innerHTML using only server side ASP?
Thanks,
Matt Scotney
NOTE: It is simply not a matter of converting the ASCII values to their character as there are many other items such as hex representation and javascript eval / unescape functions which also need decoding.
Does anyone know how to extract a pages innerHTML with asp?
I can extract the source using the xmlHTTP or Inet objects, but I can not work out how to extract the innerHTML.
DEFINITION: InnerHTML for this question is the source code generated by the browser. It is not the regular view source.
EXAMPLE: The below code when placed in a html file and executed will display hello world on the screen. The innerHTML contains only the character, and not the ASCII numeric value.
<HTML>
<BODY>
& # 104; & # 101; & # 108; & # 108; & # 111; & # 032; & # 119; & # 111; & # 114; & # 108; & # 100;
</BODY>
</HTML>
NOTE: To make the above code work correctly make sure to remove all the spaces.
Above codes innerHTML:
<HTML>
<BODY>
hello world
</BODY>
</HTML>
How do I extract the innerHTML using only server side ASP?
Thanks,
Matt Scotney
NOTE: It is simply not a matter of converting the ASCII values to their character as there are many other items such as hex representation and javascript eval / unescape functions which also need decoding.