jamietre / CsQuery

CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
Other
1.16k stars 249 forks source link

Element getbyID does not seem to work #206

Open archaeous opened 8 years ago

archaeous commented 8 years ago

I have tried the method numerous times and always returns null even when the ID is in the document, I only want null if its not in the document, I placed the same code into htmlElement getbyID method and it finds the element every time, this is code: IDomElement found = View.Document.GetElementById("found");

archaeous commented 8 years ago

I guess by the non answers that this is a piece of bad coding on csquery I may have to change to something that actually works

archaeous commented 8 years ago

no answers yet ok csquery is going in the bin, I would not recommend this program as the getBYID does not work

jamietre commented 8 years ago

A couple things:

You are more than welcome to "find something that actually works" for you - in fact I recommend it in the readme, since CsQuery is not being actively maintained by me. But whatever you do choose to use, the first two pieces of advice will still apply to asking questions.