DHTML
The DHTML menu option shows you the DHTML source of the web page. PageSpy automatically
selects the element that you clicked when you opened the program.
The DHTML source of a web page is different than the basic HTML source that you see when
clicking "View Source" in a browser. Basic HTML source is simply the HTML source sent from the web
server to the browser. DHTML source is the HTML source of a web page after
it has been interpreted by the browser. This means that DHTML source contains the results of client-
side script execution.
To illustrate the difference between standard HTML and DHTML source, consider the following
client-side script:
<script>
var mydate = new Date();
document.write(mydate);
</script>
When we click "View Source" in a browser we can only see the script source code as shown above.
The DHTML source provided by PageSpy also displays the result of script execution as shown below:
<script>
var mydate = new Date();
document.write(mydate);
</script>
Sat Jul 24 15:08:45 UTC+0200 2005