getting an HTMLInputElement using mshtml.dll
-
Hi everybody! I'm trying to get an HTMLInputElement using get getElementByID() or getElementByName() functions. I need to get a certain button, but this button has no name or ID. here is a part of the code (from the website)
[](http://****number=9864)[](http://*****name=find-b)
I'm trying to get the "enter" input type (which is an image). as you can see, there is no name/ID. can anyone help me with this? Thanks!!! :) -
Hi everybody! I'm trying to get an HTMLInputElement using get getElementByID() or getElementByName() functions. I need to get a certain button, but this button has no name or ID. here is a part of the code (from the website)
[](http://****number=9864)[](http://*****name=find-b)
I'm trying to get the "enter" input type (which is an image). as you can see, there is no name/ID. can anyone help me with this? Thanks!!! :)Post the sample code you are working with.
- Nick Parker Microsoft MVP - Visual C#
My Blog | My Articles -
Post the sample code you are working with.
- Nick Parker Microsoft MVP - Visual C#
My Blog | My ArticlesHey What I'm trying to do is to write a small app that will extend my (and my friends') library books (I'm a student) automatically. so in the website I have the following code for the submit image(which the user can click on to... submit): I'm using the following code to get the HTMLelement in C# so I will be able to click it: mshtml.HTMLInputElement btn = (mshtml.HTMLInputElement)doc.getElementsByName(???); as you can see, I don't know how to get the element, because I don't have an ID or a Name. there must be a way to submit that page automatically, but I really have no clue. Thanks Again!