Incorrectly recognized by <form> tag

Topics: Developer Forum, Project Management Forum, User Forum
Oct 14, 2011 at 12:32 PM

When the <form> tag is being sought, you can not get its children. InnerText is also not true. Please check this, it is important.

Thanks!

Nov 8, 2011 at 2:30 PM

it's got to do with overlapping, if you want it to work, just do HtmlNode.ElementsFlags.Remove("form") before loading the html.

original answer was found here, http://stackoverflow.com/questions/2385840/how-to-get-all-input-elements-in-a-form-with-htmlagilitypack