I'm trying to execute a simple click function after a InnerHTML is created, but it's not working. None is showed in console.
$(document).ready(function() {
  var lorum = "Lorem ipsum dolor sit amet, leo nulla ipsum vivamus, augue tempor inceptos sed nam rhoncus. Rhoncus montes litora. Praesent ut ad ornare fusce posuere in, libero bibendum, et adipiscing. <a href='#' id='hue'> You can click here </a>";
  $('button').click(function() {
    $('#content').html(lorum);
  });
  $(function() {
    $('#hue').click(function() {
      $('#content-2').html(lorum);
    });
  });
});<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<body>
  <button>Generate</button> <br><br>
  <div id="content"></div>
  <div id="content-2"></div>
</body> 
     
     
    