c# - Save dynamically generated javascript into html file OR get this content in a string and send to Controller -


i have mvc4 application render view of content generated dynamically javascript after pass parameter. know how either save html generated via javascript string (being able use in controller) or save html page file.

it not clear process can @ least 2 ways:

  1. you can rendered html markup using javascript document.documentelement.outerhtml after document loaded, may execute ajax call post action if trying do.

  2. from chrome/ff, hit f12 , go elements/inspector tab, righ click on parent html node on "edit html", show rendered html in textbox, can copy it.

hope helps.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -