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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Extra Domus

    #1

    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?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Set the disabled property of the button to false onclick:
    Code:
    btn.disabled=false
    where btn is a reference to the button object.

    Comment

    Working...