[Javascript] accessing event from setInterval function

Anthony Ettinger anthony at chovy.com
Wed Mar 7 14:36:29 CST 2007


Is there a way to access the event object from within the setInterval
callback function?

var myInterval = window.setInterval("doMyInterval();", 500);

function doMyInterval ( e ) {
    //event object is not passed here....how can I gain access to it?

}



-- 
Anthony Ettinger
Ph: 408-656-2473
http://chovy.dyndns.org/resume.html
http://utuxia.com/consulting



More information about the Javascript mailing list