2015-04-07 22 views

回答

1

好的,我在这里得到了答案。

添加CSS:

<link rel="stylesheet" href="css/jquery.qtip.min.css"> 

添加库:

<script src="jquery/jquery-1.11.2.min.js"></script> 
<script src="jquery/jquery.qtip.min.js"></script> 

和脚本:

$(document).ready(function() { 
    alert('a'); 
    $('#send').qtip({ // Grab some elements to apply the tooltip to 
     content: { 
     text: 'My common piece of text here' 
    } 
    }); 
});