Accessing a textbox within a frame

andyrew30

Registered User.
Local time
Today, 10:12
Joined
Feb 3, 2014
Messages
16
The problem I am having is with an intranet page. I am trying to access a text box that is located within the body frame, but when I reference the html page using:
ie.getElementsByName("file_id").innerText = "Our text"
ie.Document.getElementById("file_id").Value = "1457899"

Or something of that form it only references the furthest left frame and doesn't find the body frame. How do I access the body frame in order to reference the textbox?

Thanks!
 

Users who are viewing this thread

Back
Top Bottom