我想让Fullcalendar使用twitter boostrap popovers.
如果我点击一个事件,我想在popover中显示一些细节.
所以首先将这个lil片段添加到Fullcalendar:
eventClick: function(event, jsEvent, view) {
$this = $(this);
$this.popover({html:true,title:event.title,placement:'top'}).popover('show');
return false;
},
Run Code Online (Sandbox Code Playgroud)
但现在我遇到了两个问题:
谢谢!
有没有办法看到原始数据被发送HttpSocket->get()
?我从服务器得到响应,但我无法判断我发送的标头是否格式正确,或者是否有任何我需要覆盖的默认标头.
$options = array(
'header' => array(
'OSLC-Core-Version' => '2.0',
'Accept' => 'application/xml'
)
);
$HttpSocket = new HttpSocket();
$results = $HttpSocket->get($url, null, $options);
Run Code Online (Sandbox Code Playgroud)
返回的数据包含原始返回的信息,我正在寻找一种方法来调试原始数据,然后再将其发送到远程服务器.
谢谢