Calendar not loading problem[SOLVED]

I used the yui calendar and wanted a button to show/hide it whenever it was clicked but when I started trying to use the button it would work sometimes and sometimes not. I tracked the problem all the way into the event(it was not loading correctly); I was registering the event after rendering the calendar and a bunch of other functions, all I did was place the button registration at the beginning of the function and I haven't had any problems so far.

Hope this serves to anyone.


1 Reply

Recent Posts

in General Discussion at YDN