[thelist] JavaScript: Why can't this function see...

Phil Turmel philip at turmel.org
Thu Mar 10 12:41:25 CST 2005


Tom,

Prior responses boiled down:

http://www.turmel.org/thelist/calendar-widget_v2.1.html

1) Adjusted global var at top of script to include calDiv,
2) Removed calDiv assignment from calInit,
3) Changed calDiv assignment in ShowCalendar to not have var keyword.

HTH,

Phil

Tom Dell'Aringa wrote:
> Still tweaking my date picker. It's working fine, but there is one thing that is really bugging
> me. In the beginning of the script, I set a couple global variables:
> 
> var currentDateInput, calDiv;


More information about the thelist mailing list