fullcalender jquery-access对象属性 [英] fullcalender jquery-access object properties
本文介绍了fullcalender jquery-access对象属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我正在为我的应用程序使用fullcalender插件。
i我试图获取点击事件的数据。
i成功获得该事件的正确对象和id,但也需要其他数据。
请帮助我,我如何获得对象的其他属性
Hello
i am using fullcalender plugin for my application.
i am trying to get the data for clicked event.
i am succeeded to get the correct object and id of that event but need the other data too.
please help me, how i can get the other properties of object
var id = $('#eventId').val();
events = $('#calendar').fullCalendar('clientEvents', id);
在事件中我得到全部该事件的数据......但是可以通过它进行检索..提前提交
in events i get the all data of that event...but uable to retrive it..thanx in advance
推荐答案
(' #eventId')。val();
events =
('#eventId').val(); events =
(' #calendar' ).fullCalendar(' clientEvents',id);
('#calendar').fullCalendar('clientEvents', id);
在事件中我得到了该事件的所有数据......但是可以提前检索它...提前提交
in events i get the all data of that event...but uable to retrive it..thanx in advance
这篇关于fullcalender jquery-access对象属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文