查看Ajax生成的html source code

If you are trying to view the generated source in Firefox, the simplest way is to first download and install the Web Developer extension.  Then go to the View Source menu item and select "View Generated Source".

To view the generated source in IE you can type the following in the address bar

javascript:'<xmp>' + window.document.body.outerHTML+ '</xmp>'

Or you can use this bookmarklet (Drag to links bar or add to Favorites): View Generated Source

ref: http://ericappel.net/blog/ViewHTMLSourceGeneratedByAJAX.aspx

原文地址:https://www.cnblogs.com/margiex/p/1579344.html