Re: how to find username/passowrd controls

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
.


Quantcast