Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inner HTML empty? #47

Open
GoogleCodeExporter opened this issue Jan 13, 2016 · 1 comment
Open

Inner HTML empty? #47

GoogleCodeExporter opened this issue Jan 13, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi I have this simple initialization code,

   HtmlDocument html = new HtmlDocument();
            html.LoadHtml(new WebClient().DownloadString(_url));

            var document = html.DocumentNode;

then I do this

     List<HtmlNode> nodes = document.QuerySelectorAll("select[name=chapter]").ToList<HtmlNode>();
            List<HtmlNode> chapterList = nodes[0].QuerySelectorAll("option").ToList<HtmlNode>();

it returns the nodes just fine correct length and all but, One problem is when 
I do

chapterList[0].innerHTML

this is empty, when its really not? 

Any one can fix this ? Or any can provide any work around,

Original issue reported on code.google.com by rawri.cl...@gmail.com on 15 Aug 2011 at 1:54

@GoogleCodeExporter
Copy link
Author

This issue has been migrated to:
https://github.com/atifaziz/Fizzler/issues/47
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is 
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of 
any further development.

Original comment by azizatif on 23 Aug 2015 at 1:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant