Binding an existing javascript function in JQuery
<p>Using JQuery I want to bind an existing function to a button. I've been through the documentation and have found the bind method but the examples on the JQuery bind newly created functions where as I want to bind a function thats already hard coded, e.g:</p>

<pre><code>function fHardCodedFunction(){
   //Do stuff
}

function fBindFunctionToElement(){
   $("#MyButton").bind("click", fHardCodedFunction());
}
</code></pre>

<p>Is this possible? Or am I going about this the wrong way?</p>
