ZeroClipboard / zClip — how to bind to live events?

erupleapoca

New Member
I'm trying to bind zclip with live:\[code\]$('.code').live('click', function () { $(this).zclip({ path: '<%= asset_path "ZeroClipboard.swf" %>', copy: $(this).text() }); ...});\[/code\]It doesn't seem to work that way. Any clues?I need to do live because some DOM elements are added with ajax.
 
Top