[twitter-dev] Re: Is it possible to Capture a Tweet Button Tweet to fire off another Javascript Call

2011-05-26 Thread DarkUFO
Thanks Mohan, I'll give it a try.

-- 
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


[twitter-dev] Re: Is it possible to Capture a Tweet Button Tweet to fire off another Javascript Call

2011-05-25 Thread Mohan Arun
 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

Andy,

I remember a similar situation before.
See: 
http://stackoverflow.com/questions/134845/href-for-javascript-links-or-javascriptvoid0

Try:a href=http://twitter.com/intent/share...etc;
onClick=alert('personalized alert msg');return true;
if return true doesnt work, try return false I believe the correct
answer
is somewhere on these lines.

- Mohan

-- 
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