title: Is it possible to use .preventDefault() in the trigger() in jQuery
body: <p>I created a custom event called <code>slides.swap</code> but I want to prevent the event coming from a <code>click</code> in the <code>trigger()</code>. It's not working. How do I do that from the <code>trigger()</code>?
  I know I can prevent it in the <code>click</code> function but I just wanna keep everything "encapsulated".</p>
  
  <p>JS:</p>
  
  <pre><code>tabs.on('click', 'a', function(e){
    $(this).trigger('slides.swap', e);
  });
  
  //Custome event 
  tabs.find('a').bind('slides.swap', function(e){
     var self = $(this),
         selfIndex = self.parent().index(),
         targetSlide = slides.eq(selfIndex);
  
     e.preventDefault(); //somehow this doesn't work
  
     //fade in/out slides
     slides.filter('.active').stop(true, false).fadeOut(speed, function(){
        $(this).removeClass('active'); 
     });
     targetSlide.stop(true, false).fadeIn(speed).addClass('active');
     tabs.removeClass('selected');
     self.parent().addClass('selected');
  });
  </code></pre>
  
  <p>Many thanks</p>