我使用qtip2在我MVC4應用。繼顯示客戶端驗證用於模型驗證隱藏的模型元素是代碼 $(function() {
// Run this function for all validation error messages
$('.field-validation-error').each(function() {
// Get the name of
我用這: // Built title error
function showUsernameError() {
$('.addbuildtitle').css('border', 'solid 2px red');
// Show error qTip
$('#addbuildtitle').qtip({
content: {
tex
這是我用來顯示qtips代碼: $(document).on('mouseover', '.sktooltip', function(event) {
// Bind the qTip within the event handler
$(this).qtip({
overwrite: false, // Make sure the tooltip won't be