Re: how to find username/passowrd controls
- From: ron <oitbso@xxxxxxxxx>
- Date: Sun, 30 Aug 2009 07:22:13 -0700 (PDT)
On Aug 30, 7:46 am, thomas donino
<thomasdon...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Ron,
Works perfectly, but for learning purposes how did you find the string to
replace
.Document.all.Item("name") with
.Document.all.Item("ewiHeader_ucEwiLogin_userid") ?
I am not that familiar with html coding
I'll identify a word or phrase on the web page that relates to the
login section and then "find" it in the source code. In this case,
"Please Login" works fine. Once in the right general area of the
source code you can see the lines relating to userid, password, etc.
Here's the line in the source code that relates to the userid
<input name="ewiHeader:ucEwiLogin:userid" type="text"
id="ewiHeader_ucEwiLogin_userid" />
It is the "id" portion of this line that identifies the term you want
to use in the "document.all. item" statement. Hope this helps, Ron
.
- References:
- how to find username/passowrd controls
- From: thomas donino
- RE: how to find username/passowrd controls
- From: Joel
- RE: how to find username/passowrd controls
- From: thomas donino
- Re: how to find username/passowrd controls
- From: ron
- Re: how to find username/passowrd controls
- From: thomas donino
- how to find username/passowrd controls
- Prev by Date: Re: Cannot Get Instance of Com component Microsoft.Office.Interop.Excel.Work*** with Excel Interface Error.
- Next by Date: Re: how to find username/passowrd controls
- Previous by thread: Re: how to find username/passowrd controls
- Next by thread: RE: how to find username/passowrd controls
- Index(es):