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

Element getbyID does not seem to work #206

Open
archaeous opened this issue Oct 29, 2015 · 3 comments
Open

Element getbyID does not seem to work #206

archaeous opened this issue Oct 29, 2015 · 3 comments

Comments

@archaeous
Copy link

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
Copy link
Author

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
Copy link
Author

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

@jamietre
Copy link
Owner

A couple things:

  • If you post your actual code and markup, you will have a much better chance of getting a response. There is absolutely no way for anyone to try to reproduce your problem with what you have posted.
  • Stackoverflow is a better place to ask questions in the first place, since it is read by millions of people, whereas this repository's issues are only read by a handful of people

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.

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

No branches or pull requests

2 participants