Skip to content

Instantly share code, notes, and snippets.

@julien51
Last active September 1, 2020 13:13
Show Gist options
  • Save julien51/4332573 to your computer and use it in GitHub Desktop.
Save julien51/4332573 to your computer and use it in GitHub Desktop.
<input type="button" onclick="(function(btn){var z=document.createElement('script');document.subtomeBtn=btn;z.src='https://www.subtome.com/load.js';document.body.appendChild(z);})(this)" value="Subscribe">
@cweiske
Copy link

cweiske commented Jul 6, 2015

Why the input, why not an <a> link?

@drguap
Copy link

drguap commented Sep 1, 2020

@cweiske In my opinion you would use < input > vs < a > because user should "input" a value in the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment