take a look at this code for a moment…
window.onload = function()
calendarTableElement = document.getElementById(‘calendar’);
todayDate = new Date;
loadCalendarAroundDate(todayDate); setInterval('poll()', 100);
There is something I do not understand…
I assume the onload event fires once…when the page is loaded.Am I correct.
Further down in the code you will se setInterval calling poll()
The weird thing is that poll() is being called continuously…how can that be since onload event is fired only once…unless of course it does not matter.