Calendarpopup in javascript
Posted: Tue Sep 30, 2008 11:28 am
Maybe this is the wrong forum to post my problem but I give it a try.
In Dynamic AI 5.1 we use javascripts to fill datefields.
A user clicks the datefield. Then a popups shows a calendar. The user only has to click the right day. It is also possible to change the years and months. After clicking a day the popup disappears and the selected date shows up in the datefield.
All works fine.
The same javascript we want to use in Dynamic 6 but it doesn't work.
After clicking a datefield, the calendarpopup shows. But clicking any day, month/year doesn't work.
The browser returns an error:
Error: g_calendar' not defined
This error doesn't show using Dynamic 5.1.
Tried to define g_calendar but I can't solve this problem.
(Why does it work in version 5.1 and not in version 6?)
Does anyone have a clue?
In Dynamic AI 5.1 we use javascripts to fill datefields.
A user clicks the datefield. Then a popups shows a calendar. The user only has to click the right day. It is also possible to change the years and months. After clicking a day the popup disappears and the selected date shows up in the datefield.
All works fine.
The same javascript we want to use in Dynamic 6 but it doesn't work.
After clicking a datefield, the calendarpopup shows. But clicking any day, month/year doesn't work.
The browser returns an error:
Error: g_calendar' not defined
This error doesn't show using Dynamic 5.1.
Tried to define g_calendar but I can't solve this problem.
(Why does it work in version 5.1 and not in version 6?)
Does anyone have a clue?