Skip to content

Instantly share code, notes, and snippets.

@huynhnguyen
Last active August 16, 2017 14:03
Show Gist options
  • Save huynhnguyen/be441ab479283cfa6ab19f4e28cb96c0 to your computer and use it in GitHub Desktop.
Save huynhnguyen/be441ab479283cfa6ab19f4e28cb96c0 to your computer and use it in GitHub Desktop.
element.append(`<button type="button"
onclick='$("div.input").toggle(1000)'
class="btn btn-primary active">toggle code</button>`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment