Hey all,
I am automating a web page from Visual Foxpro. I can control all the
textboxes, radio buttons, and command buttons using syntax such as:
oIE.Document.Fo rms("searchform ").Item(<name>) .Value = <myvalue>
But I cannot control a dropdown with an onchange event. I can set the
dropdown's value and selectedIndex, but then calling the onChange() or
Click() does not do anything. It only seems to fire the onchange if I
use it interactively.
I know what the onChange calls on the form, and I can call the
function directly, but I don't know how. How does one call a straight
JavaScript function that is in the script portion of the web page and
have it fire as if it was called from the page itself?
Just point me to any docs and I should be able to figure it out. I am
just missing this one step, but it is crucial for this manipulation...
You can email me at: junk (at) removethis.sute kh137.net, and I will
try to monitor the newsgroup.
Thanks in advance!
JoeK
I am automating a web page from Visual Foxpro. I can control all the
textboxes, radio buttons, and command buttons using syntax such as:
oIE.Document.Fo rms("searchform ").Item(<name>) .Value = <myvalue>
But I cannot control a dropdown with an onchange event. I can set the
dropdown's value and selectedIndex, but then calling the onChange() or
Click() does not do anything. It only seems to fire the onchange if I
use it interactively.
I know what the onChange calls on the form, and I can call the
function directly, but I don't know how. How does one call a straight
JavaScript function that is in the script portion of the web page and
have it fire as if it was called from the page itself?
Just point me to any docs and I should be able to figure it out. I am
just missing this one step, but it is crucial for this manipulation...
You can email me at: junk (at) removethis.sute kh137.net, and I will
try to monitor the newsgroup.
Thanks in advance!
JoeK
Comment