2010-08-23 43 views
0

我有加载描述的问题。我得到通过AJAX的答案,这是JSON部分信息:FullCalendar和qTip。帮助描述为数组

{"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

这里是答案:

content: (event.description.join(", ")),