How can I simulate an onclick event in IE?

M

melton9

I've been searching around and haven't really found anything. I've but
an IE browser on my form and would like to simulate clicking the
provided refresh button on a one minute interval. I can't use navigate
because the page has frames and only one frame does the refreshing.
Surely theres a simple way to make the browser simulate the onclick of
the particular button I'm wanting? Its javascript in frame 2. Can
anyone help?
 
A

Andrew Morton

I've been searching around and haven't really found anything. I've
but an IE browser on my form and would like to simulate clicking the
provided refresh button on a one minute interval. I can't use
navigate because the page has frames and only one frame does the
refreshing. Surely theres a simple way to make the browser simulate
the onclick of the particular button I'm wanting? Its javascript in
frame 2. Can anyone help?

I think you want a Javascript timeout object calling whatever function would
be called by clicking the button.

Unless you meant the equivalent of a refresh button in a browser, in which
case
http://en.wikipedia.org/wiki/Meta_refresh

or maybe you're looking for
http://en.wikipedia.org/wiki/Ajax_(programming)

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top