Posterous theme by Cory Watilo

Tweet Buttons after Page Load? Yes, we can!

In this day and age, when building a UI tool, one must ask the question: Well, what about dynamic content?

To make a Tweet button out of an anchor tag after the DOMReady event has fired, on content which was not originally in the DOM, you need to explicitly call Twitter's Javascript API (for which I found no documentation, please link me up if you can). Here's how you'd go about that

Run that bit of code on your fresh async content and you're gold.
If you cannot see the code above, get it from here