Otto404 / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Inner HTML empty? #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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