live() not working inside a plugin

live() not working inside a plugin

I am writing a plugin and need to live bind a click. The plugin works fine when I do a normal click bind, but not a live bind.

I've boiled the plugin down to the basics:


   
  1. (function($) {
  2.   $.fn.liveBindTest = function() {
  3.     return this.each(function() {
  4.       $(this).live('click', function(){
  5.         console.log('live click');
  6.         return false;
  7.       });
  8.       $(this).click(function(){
  9.         console.log('click');
  10.         return false;
  11.       });
  12.     });
  13.   };
  14. })(jQuery);

When I call the plugin function on a link, only click is printed to my console.

What must I do in order for live() to work? Thanks.