我想在tooltip的onShow事件中使用一个函数。我确定它很简单直接,但我无法使它工作。我在这里错过了什么?Jquery Tooltip onShow函数
$("input[title]").tooltip({
onShow: function() {
$('.tooltip').css({'cursor':'crosshair', 'border-style':'dashed'}).click(function() {
alert();
});
},
offset: [120, 0]
});
Thx提前
这似乎适用于我。 – Sam
您会在点击功能中看到警报吗? – sjosen