2014-10-02 4 views

답변

0

일부 이벤트를 바인딩하기 위해 후크 플러그인을 사용할 수 있습니다.

당신은 URL을 클릭 한 후, 두 개의 경고 메시지를 닫고 작동 제대로하는 방법을 참조하기 위해 "실행"버튼을 클릭합니다 (jqPlot documentation here 및 작동 예를 on jsFiddle here을 찾을 수 있습니다

$.jqplot.config.enablePlugins = true; 
$.jqplot.preDrawHooks.push(function(){ 
    alert('predraw'); 
}); 
$.jqplot.postDrawHooks.push(function(){ 
    alert('postDraw'); 
});