简体   繁体   中英

Calling javascript function from HtmlAgilityPack

I want to use HtmlAgilityPack in a form application to read some pages content but on the page search subpage I need to invoke the javascript and the link looks like this:

<a href="javascript:__doPostBack('lnkbtnNext','')" id="lnkbtnNext">Następny >></a>

How can I Call this function from my C# desktop application?

If you trust the source, it looks to me like you'd be better off invoking the WebBrowser control . HtmlAgilityPack does not provide a scripting engine.

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