setTimeout and VBScript

Results 1 to 2 of 2

Thread: setTimeout and VBScript

  1. #1
    Rafael Chedid Guest

    Default setTimeout and VBScript

    How can I update a table with sql-statements after a certain time detected by the setTimeout function? Suppose:<BR>&#060;script language="JavaScript1.2"&#062;<BR>&#060;!--<BR>function updatetable()<BR>{<BR>// a javascript or vbscript here to update the talbe<BR>}<BR>return<BR>//--&#062;<BR>&#060;/script&#062;<BR><BR>Later, in the body:<BR><BR>&#060;body onLoad="setTimeout(&#039;updatetable()&#039;,10000 )"&#062;<BR><BR>Thank you all in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: setTimeout and VBScript

    The only way to update the table is to reload the entire page from ASP. In which case, why bother with setTimeout? Just use a meta refresh to force the reload.<BR><BR>Actually, that isn&#039;t 100% true. You *COULD* look into Remote Scripting (start at But you really probably do not want to.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts