[Javascript] Sumitting a selection every 4 seconds

Terry Riegel riegel at clearimageonline.com
Thu May 20 08:58:47 CDT 2004


Chris,

Eureka!! Here is my final code. Thanks for you help with this. The 
alert only ever happens once when selecting many at once.

-----------------------
var currentlink;

function refresh(linkname)
{
  if (currentlink == linkname)
   {
   alert(linkname+"|"+currentlink);
   currentlink="ERROR";
   }
}


function changedest(dest,type)
{
    currentlink=dest;
    setTimeout("refresh('"+currentlink+"')",2500);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 497 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040520/73d28baf/attachment.bin>


More information about the Javascript mailing list