我的加载描述有问题。我通过ajax得到答案这是JSON部分信息:
{"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'
}
});
如何将此描述数组加载到工具提示。
答案 0 :(得分:0)
以下是答案:
content: (event.description.join(", ")),