If that is indeed what you are trying to do, and your attempt is this code:
more than likely it is not working because the textbox does
not have the name attribute called
attachment associated with it. when you use the
.all property of a webpage's DOM (document object model), I think the referencing code to an element following it, in () parenthesis, requires the
name attribute value. either that, or the
id attribute. Either way though, a popup dialog (window that opens to select a file from your system) is not part of the DOM and therefore has no elements on it.
Bookmarks