2011-01-10 4 views

답변

1

나는 jQuery TOOLS Tooltip을 권장합니다. 나는 그것을 내 프로젝트에 사용한다.

하지만 AJAX의 경우 이벤트 리스너를 사용하여 직접 코딩해야 할 수 있습니다.

1

사실 저는 최근에 fork of jQuery UI Tooltip을 출시했습니다.

ajax 요청을 처리하는 콘텐츠 옵션에 기능을 제공하여 원격 콘텐츠를 지원합니다. 이 같은

뭔가 :

$("table tr").tooltip({ 
    content: function(response) { 
     // Init the ajax call (you can use .post or .ajax as well) 
     // response is the callback that will handle the response 
     $.get("url_to_tooltip_content", response); 
     // Return text that will show until a response have been recieved 
     return "Loading..."; 
    } 
});