Reloading or rerendering only one button


#1

Hi,

a quick question : is there a way to reload or rerender just one button?

I have a website with a lot of ajax calls that can create twitter buttons.
after the ajax call I call twttr.widgets.load()

it works great until I have many buttons, in which case it starts taking longer and longer.

does something like twttr.widgets.load(button id) exist?

thanks

V.


#2

Yes, you may pass a parent or an array of parents for widgets-js to scan.
https://dev.twitter.com/docs/tfw/loading


#3