title: onclick inside highslide expander
body: <p>I'm changing highslide's expander. In expander I'm adding onclick event and it is not working. Here's my code:</p>
  
  <pre><code>hs.Expander.prototype.onBeforeExpand = function (sender, e) {
  var div = document.createElement('div');
  var txt="&lt;input type='text' name='id_kategorii' value='"+hs_id_kategorii+"' class='pole podpowiedz_kategorie_id' style='width:auto'&gt;"
      +"&lt;img class='hs_dodaj_do_kategorii' src='"+global_link+"style/nowy/ik/block--plus.png'&gt;";
  $(div).addClass('hs_admin');
  $(div).html(txt);
  
  sender.createOverlay({ 
      overlayId: div, 
      position: "top center", 
      hideOnMouseOut: false, 
      opacity: 0.8, 
  });
  $(".hs_admin img").click(function () {
      alert('k');
  });
  $( ".hs_admin .podpowiedz_kategorie_id" ).autocomplete({
      source: global_link+"ajax/autocomplete.php?rodzaj=kat",
      select: function( event, ui ) {
          ui.item.value=ui.item.id;
          hs_id_kategorii=ui.item.id;
      }
  });
  $(".ui-autocomplete").css( "z-index", 1002);};
  </code></pre>
  
  <p>Autocomplete is working fine. Only click event is not working (no alert). I also tried</p>
  
  <pre><code>&lt;img onclick='alert(\'k'\);'&gt;
  </code></pre>
  
  <p>The same result.</p>