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

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


Prior responses boiled down:


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.



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