title: jquery template engine, how to bind events
body: <p>Is there any way to pass function to bind into jQuery template engine?
  <a href="http://api.jquery.com/tmpl/" rel="nofollow">http://api.jquery.com/tmpl/</a></p>
  
  <p>If I create HTML without template I would do it like this:</p>
  
  <pre><code>jQuery("&lt;a&gt;link&lt;/a&gt;").click(function(){alert('hi!')}).appendTo( "#forms_container" );
  </code></pre>
  
  <p>how to do this with jQuery templates?</p>
  
  <p>------------EDIT
  I found some library here 
  <a href="http://knockoutjs.com/documentation/template-binding.html" rel="nofollow">http://knockoutjs.com/documentation/template-binding.html</a></p>
  
  <p>and seems it something like jQuery.live()</p>
  
  <p>Is there any other ways for binding functions to templates, or this way is used as default mostly?</p>
  
  <p>-----------EDIT
  Ok, then let it be .delegate. I think for my small task it will be enough, without adding more complexity with Knockout</p>