简体   繁体   中英

How to convert javascript to HTML

I'm completely new here and this is my first question. I'm scared.

I will be honest, I'm completely new at HTML and javascript, and my doubt is the following: I'm performing an HttpWebRequest in order to get a string with some text in html format. This text contains lots of javascript code, but what I actually need is to get a string containing the interpreted html (this means, what a browser would do when executing that source code after having entered the corresponding URL in the browse bar).

Is there any way to make such a conversion in C#?

Html.Raw() can be,

in ASP.NET MVC Razor view

For example: Html.Raw(" <div> ").

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM