I have a jquery code and i have to run this code for all items in my repeater
In my repeater i have a button and label what i want is when click a button in repeater send the label parameter to jquery function and run it. My Jquery code is below. it gives error now. Because imgBtnCopy is inside in repeater so it says there is no button with the name imgBtnCopy. So how can i run this code in itemcommand of repeater
<script type="text/javascript">
$(document).ready(function () {
$('#' + '<%= imgBtnCopy.ClientID %>').zclip({
path: 'ZeroClipboard.swf',
copy: function () {
return $('#' + '<%= lblFile.ClientID %>').val();
},
afterCopy: function () {
}
});
});
</script>