Hi,

I'm very new to this and was wondering if the following is possible or if 
there is a way to do it.

I currently use the Twitter Button on my site which has the Tweet Button 
right aligned to the Article Title. There are multiple articles on the 
homepage and each has their own Twitter button. Here is the code I use.

 <a class='twitter-share-button' data-count='vertical' 
data-related='spoilertvmovies' data-via='SpoilerTV' 
expr:data-text='data:post.title' expr:data-url='data:post.url' 
href='http://twitter.com/share' >Tweet</a>

Is there anyway I can capture the event of a user clicking on the Tweet 
Button so that it can fire off another Javascript Function which rewards the 
user with a personalised Alert Message.

Will something like onclick work? I've tried but it didn't seem to trigger.

Cheers
Andy


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk

Reply via email to