i have in .jade:
.col-md-9 h4#enquiry-details enquiry details .col-md-1 a#copy-enquiry(href='#') copy then in javascript:
$(document).ready( function() { $('a#copy-enquiry').zclip({ path:'/javascripts/zeroclipboard.swf', copy:$('h4#enquiry-details').text(), }); } ); i have included jquery , jquery.zclip.js script in header.
somehow copy clipboard still not working. ideas?
Comments
Post a Comment