Jump to content

Quick question. This is a twitter button code. How do I keep the "following" selected on success?


man5

Recommended Posts

This twitter style button I found.  http://jsfiddle.net/jakie8/ZECEN/

 

I have managed to modify it to my liking. And yes I know the ".live" is depreciated and instead use "on". 

 

Anyways, the only thing I noticed is that if I click "Follow" button and it turns green; once I refresh the page, it goes back to default "follow" mode.  I was wondering how can I keep it green even if I refresh the page?

  • 1 month later...

write an event handler and store the result in a variable.Another way use flag.

 

These are very specific suggestions.  A quick example, or jsfiddle would be appropriate.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.