Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 7 Jun 2008 15:22:00 -0700,    group: microsoft.public.inetsdk.programming.html_objmodel        back       


Newbie question on document model   
I'm trying to automate the navigation of a web page, and I'm having to learn 
as I go so if you tell me I'm doing it the hard way, believe me I will 
listen.  My VBA program is picking out items by name, selecting options from 
drop-down lists as it goes, and next I want to push a button.

Now, I can see the button right in front of me on the web page, plainly 
labeled "SUBMIT".  On mouseover, MSIE tells me it will link not to a URL but 
to "javascript:checkAvailability();".  But when I browse manually through 
Document.All for this button, so that I can tell my program how to refer to 
it, I don't see it at anywhere.  In fact the .All collection ends after the 
256th item, a suspicious coincidence although nothing in the documentation 
that I can find hints that the .All collection should be so limited.  The 
256th item is several tags, above the button, so the impression I get is that 
.All simply doesn't go down all the way through the HTML definition.

So is there something I don't know about the document model that would tell 
me where this button is defined?  What am I missing?

Feel free to contact me at rhbridg @ attglobal.net, if you prefer.
date: Sat, 7 Jun 2008 15:22:00 -0700   author:   Bob Bridges

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us