title: How to bind the 'toggle' event to a element
body: <p>Is there a way I can use the 'bind' syntax for the 'toggle' event handler ?</p>
  
  <p>From the docs I can understand that the correct way is </p>
  
  <pre><code>$('.selector').toggle( function() {}, function() {} );
  </code></pre>
  
  <p>My problem is that I am removing that element for some reason, and then again add it to the DOM. On adding it again, the toggle does not work.</p>
  
  <p>Thus, I think there should be a way to 'bind' the toggle.</p>
  
  <p>Help please.</p>
  
  <p>This is documentation I am following:
  <a href="http://jqapi.com/#p=toggle" rel="noreferrer">http://jqapi.com/#p=toggle</a></p>