javascript - How to use live method with zclip plugin? -
how use live method -> http://www.steamdev.com/zclip/ edit: $(document).ready(function(){ $('a#copy-description').zclip({ path:'js/zeroclipboard.swf', copy:$('p#description').text() }); i need use live method cuz a#copy-description generate via javascript. try use livequery instead of live. way you'll able bind zclip when appears in dom. $(document).ready(function(){ $('a#copy-description').livequery(function(){ $(this).zclip({ path:'js/zeroclipboard.swf', copy:$('p#description').text(); }); });