T
T Gregory
Guest
I'm executing an HttpWebRequest that grabs the HTML from a given URL. I'm receiving the HTML as expected, but I'm not sure of the best way to get the value of an element based on its ID.
Here's the HTML I receive:
<HTML><HEAD><TITLE>Device Status</TITLE></HEAD><BODY><div id="deviceValue">00</div></BODY></HTML>
I'm wanting to get 00 from the element with the ID: "deviceValue"
I'm assuming there has to be a super simple way to do this since people have been parsing HTML for decades but I can't find a such a simple solution.
Any ideas?
Thanks!
Continue reading...
Here's the HTML I receive:
<HTML><HEAD><TITLE>Device Status</TITLE></HEAD><BODY><div id="deviceValue">00</div></BODY></HTML>
I'm wanting to get 00 from the element with the ID: "deviceValue"
I'm assuming there has to be a super simple way to do this since people have been parsing HTML for decades but I can't find a such a simple solution.
Any ideas?
Thanks!
Continue reading...