capture the click of the Twitter “Tweet” button using jQuery
问题 I have the following code on my site, which when it accesses Twitter's API generates it's own markup. I'm looking to call a JavaScript function on the onClick even of this but, but as the markup changes it seems it's not as simple as just adding an onClick to the anchor. How can I capture the click of the 'Tweet' button? <div class="social_button twitter_button"> <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"> Tweet </a> <script type="text/javascript"