Jquery 完整日历和qTip。帮助描述为数组
我对负载描述有问题。我通过ajax得到答案这是JSON部分信息:Jquery 完整日历和qTip。帮助描述为数组,jquery,fullcalendar,qtip,Jquery,Fullcalendar,Qtip,我对负载描述有问题。我通过ajax得到答案这是JSON部分信息: {"id":"","start":1282561200,"end":1282564800,"title":"admin admin","description":[["Alcatel-6850, ","Alcatel-6400, "]]} 这是渲染事件的代码: eventRender: function(event, element) { element.qtip({ content :
{"id":"","start":1282561200,"end":1282564800,"title":"admin admin","description":[["Alcatel-6850, ","Alcatel-6400, "]]}
这是渲染事件的代码:
eventRender: function(event, element) {
element.qtip({
content : event.description,
position: {
corner: {
tooltip: 'bottomLeft',
target: 'topRight'
}
},
style : {
width: 200,
padding: 5,
//background: '#A2D959',
color: 'black',
textAlign: 'center',
border: {
width: 2,
radius: 5,
color: '#A2D959'
},
tip: 'bottomLeft',
name: 'blue'
}
});
如何将此描述数组加载到工具提示 以下是答案:
content: (event.description.join(", ")),