我有这个制作按钮的脚本...我需要制作另一个脚本来跟踪单击按钮的时间...我将如何创建它。
<script id="navTemplate" type="text/x-jquery-template">
{{if TotalItemCount==0}}<br/>No Matches. Make sure your Marketing Info is complete.
{{else}}
<a href="#" class="rowSelectionPage" data-select="{{if AnyPageHasSelections}}false{{else}}true{{/if}}" data-selectmode="All" data-selectpageurl="PowerMatchingRowSelectionPage" >{{if AnyPageHasSelections}}un{{/if}}select entire list</a> / <a href="#" class="modalEdit" data-mode="send" data-bulkselectionmode="ServerSideRowSelections" data-method="GET" data-successmessage="Message Submitted" data-modalWidth="665" data-viewurl="/Marketing/Email/SendBuyerMatchesEmail?mode=ServerSideRowSelections&sellerId=${CaseId}" data-title="Send Email" title="Send New Email">email selected buyers</a><br />
{{/if}}