Hi,
I am using a javascript to pop-up a calendar to make a date entry. I load the js at the top of the page - and then usethe following to trigger the calendar:
It works well - however sometimes if a user clicks on a dropdown or any field on the page - the js reports an error that g_Calendar is empty...
I was recommended to load the onclick in the js - how would I insert that?
Any suggestions are welcomed
Klaus
http://www.ameinfo.com
I am using a javascript to pop-up a calendar to make a date entry. I load the js at the top of the page - and then usethe following to trigger the calendar:
Code:
onclick="g_Calendar.show(event,'sampleform.End_Date', false, 'yyyy-mm-dd', new Date());It works well - however sometimes if a user clicks on a dropdown or any field on the page - the js reports an error that g_Calendar is empty...
I was recommended to load the onclick in the js - how would I insert that?
Any suggestions are welcomed
Klaus
http://www.ameinfo.com