title: Jquery Events dont work after ajax/innerHtml
body: <p>i have many events such as</p>
  
  <pre><code>$('.hidefile').click(function (event) {
  </code></pre>
  
  <p>On page load and on certain conditions i use ajax to get the html for a certain div and fill it in with .html(htmlstring). It took me forever but i notice that the events do not work when i do this. How do i fill the div with html and have the jquery events work with it?</p>