Looking to intercept a click into a stock twitter button. Am attempting to make a note of the click and simply update my on internal counter of these clicks. By running an ajax request to a page that ratchets up. Can a click on this iframed element be caught? Have tried many renditions, here is a stripped down version. Have tried wrapping the element in divs to no avail.
<!-- START TW SHARE -->
<a id="XXX" href="https://twitter.com/share" class="twitter-share-button" data-url="." data-text="Join the Challenge & Join now:" data-size="large" data-related="sample data" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- END TW SHARE -->
/// VIA JQuery
$("XXX']").click(function() {
$.ajax({url: 'plus.php?ID=<?php echo $ID;?>' });
});