View Single Post
  #6 (permalink)  
Old December 19th, 2013, 02:47 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Here's how I understand it now....It seems that "View Source" should display the resulting HTML that is sent to the browser by the server after processing the page. It should not show any HTML that is added dynamically by Javascript in the page. In order to view and diagnose the dynamically added HTML, one needs to use IE Developer tools or Firebug.
Yes, that's exactly how it is. Some browsers, such as FireFox, also have a "View Selection Source" menu command that shows the DOM (that includes the HTML added by JavaScript) instead of just the original source.

I've been trying different things with this tool and realizing how powerful it is. I'm even able to debug the client side javascript with it...this is awesome!
I completely agree! ;-)


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Tulsi (January 23rd, 2014)