Results 1 to 2 of 2

Thread: Button to run a .js script

  1. #1
    Join Date
    Jan 2009
    Location
    Virginia, USA
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Button to run a .js script

    Basically, I have a .js script that I would like to run on my site when a button is pressed. How would I do this?

  2. #2
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Button to run a .js script

    Quote Originally Posted by knd775 View Post
    Basically, I have a .js script that I would like to run on my site when a button is pressed. How would I do this?
    http://www.w3schools.com/jsref/event_onclick.asp

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •