你好,
这是脚本的样子 lile :
$(document).ready(function () {
$('#MyDiv').qtip({
content: 'I\'m at the top right of my target',
position: {
corner: {
target: 'topRight',
tooltip: 'bottomLeft'
}
}
});
});
这就是 html 的样子:
<div id="MyDiv">This is my Text</div>
没有 css 绑定到 MyDiv 元素。div 元素放置在 Begin 表单标签内。
问题是工具提示会出现在右边很远(甚至不在 div 附近)?
文档表明这应该可以工作,为什么不呢?
最好的祝福