469,906 Members | 2,191 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

How to activate a button when Facebook "like" button has been clicked?

Hey there, I have a blog where I put my music on and I am seeking a way to make people click "like" on my facebook page to unlock the download button. So far I got my "like" button, my D/L button (which is just linked to filefactory since I don't own the domain on blogspot). I disabled the D/L button but I need it to reactivate once the person likes my page.

How do I proceed?
Oct 22 '10 #1
1 1929
acoder
16,027 Expert Mod 8TB
Set the disabled property of the button to false onclick:
Expand|Select|Wrap|Line Numbers
  1. btn.disabled=false
where btn is a reference to the button object.
Oct 23 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Russell | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.