enter code here
我有一个点击框,在这个框内我有一个按钮。当弹出窗口显示时,我通过 javascript 设置了 .click 函数。只有当我在
$("#button").click(function (event)
http://www.leecarmichael.com/bootstrapx-clickover/examples.html
任何想法将不胜感激
$('.socialMediaEnabled .btn-palette-checkbox-unchecked').clickover(
{
// auto_close: 3 * 1000,
width: 170, height: 80,
placement: 'right',
onShown: function () { button.init(); }
})
var button= function (credentials, url)
{
this.init = function ()
{
//facebook
$("#button").attr('onclick', '').unbind('click');
$("#button").click(function (event)
{
}
}
}