Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing a method from jscript

Status
Not open for further replies.

Jhankins

Programmer
Jun 17, 2003
46
AU
How do you run a method from JScript I can do it when I put a button on the webpage but how do you just run a method without having to use a button

Thanks

Works below with a button but trying to run a method call RefreshData

<SCRIPT language="JScript">
function starttimer()
{
window.setTimeout("Refresh();",60000);

}
function Refresh()
{
document.Form1.btnUpdate.click();

}
</SCRIPT>
 
JHankins: check thread855-846539 - it has a couple of javascript timer events.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top