Skip to content

Instantly share code, notes, and snippets.

@malditojavi

malditojavi/html Secret

Last active September 14, 2017 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malditojavi/c1f062915c31f839de8d8e0eac4efbfe to your computer and use it in GitHub Desktop.
Save malditojavi/c1f062915c31f839de8d8e0eac4efbfe to your computer and use it in GitHub Desktop.
Hack Price Match 4
function DoThisWhenTextIsSelected() {
// If text selected is equal to our product name
if() {
// show our cta
document.getElementById("hiddencta").className = "visibleCTA";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment