当用户在按下按钮时成功登录Google+时,我需要回拨事件。
此代码未给出任何回调响应:
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script>
<script>
function plusClick(data) {
//Nothing working
}
</script>
</head>
<body>
<div class="g-follow" data-annotation="bubble" data-onstartinteraction="tester" data-callback="plusClick" data-height="20" data-href="//plus.google.com/u/0/115175605005410528191" data-rel="author"></div>
</body>
</html>