We have a cms to allow our users to dynamically add multiple elements to a page with a tweet button. In order for the user to add these elements, they click a button that opens a new window to allow them to specify the tweet text included with each button. When they hit save, we inject into the parent page the new tweet button element and when we do this though, just the Tweet link is shown instead the tweet button image.
What is the function called in this file http://platform.twitter.com/widgets.js that we can call to have the code loop through our page to find the appropriate elements tagged with twitter-share-button and tweetbutton class to render out the tweet button (full image).
Thanks, Brad