apycazo
6/11/2013 - 7:46 AM

Set a handler for a yet to be created node

Set a handler for a yet to be created node

$(document).on(
  'click', 
  '.tooltip-selector', 
  function() {
    console.log('Clicked: ' + $(this).html());
    var sel = { 
      properties: {
        title: $(this).html()
      }
    };
    showDetails(sel);
});