How to disable function executing in bind method? <p>I've three simple functions</p> <pre><code>var loadPoints = function(successCallback, errorCallback) { $.ajax({ method: 'get', url: '/admin/graph/get-points', dataType: 'json', success: successCallback, error: errorCallback }); } var successLoadPoints = function(points){ console.log('load ok'); //console.log(points); // $.each(points,function(i, item){ // console.log(points[i]); // // }); } var errorLoadPoints = function () { console.log('error with loading points'); } </code></pre> <p>I bind function loadPoints to click event on button</p> <pre><code>$("button#viewPoints").bind( 'click', loadPoints(successLoadPoints,errorLoadPoints) ); </code></pre> <p>But function loadPoints is been executed without click event. Why? How to resolve this problem ?</p>