阅读背景:

如何添加事件监听器,将其删除,然后重新添加?

来源:互联网 

I have a chrome calendar app that displays the current month. I also have next Month and Previous month buttons that go the the next and previous month depending on what month is being displayed. However, I would only like the calendar to go as far as December of the current year and January of the current year, so after the user hits december/january, I remove the event handler. But, I need to add the event handler again when it is not December or January. How should I do this? I have a chrome calendar app that displays the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: