阅读背景:

jquery完整日历:每次获取新事件时从源初始化一个数组

来源:互联网 

I want to initialize a global array of events everytime new events are fetched from the database. T explain some more, i want my events in a global array on the client side so that i can filter events without an ajax call. For example, if i have events, and each event has a country associated with it, i have multiple select box where you can select one or more country. I use the clientEvents functions to filter events taht match the criteria but the problem comes when the user starts reducing the filters. Then i need the events that i have already filtered out and for that i dont want to make an ajax call. So my approach is to have a global array of events, and when the user clears the filters, i just simply refectch all the events from that array.I want to initialize a global array of events e




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

分享到: