Title: How do I make JavaScript hyperlinks?
Last modified: August 30, 2016

---

# How do I make JavaScript hyperlinks?

 *  [ashjack](https://wordpress.org/support/users/ashjack/)
 * (@ashjack)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/how-do-i-make-javascript-hyperlinks/)
 * I want to make a page on my wordpress website that is full of links. When you
   click one of these links, it runs JavaScript on the current page, and if you 
   drag the link into your bookmarks toolbar, it makes it a toolbar and the JavaScript
   is run on any website you open the bookmark on.
 * However, whenever I try to make a link that contains JavaScript, it creates an
   empty link, and using buttons does not work. How can I make a link that runs 
   JavaScript when clicked? (And can be dragged into the bookmarks toolbar to be
   run on any webpage)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ashjack](https://wordpress.org/support/users/ashjack/)
 * (@ashjack)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/how-do-i-make-javascript-hyperlinks/#post-6537314)
 * bump
 *  [Bybe](https://wordpress.org/support/users/bybe/)
 * (@bybe)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/how-do-i-make-javascript-hyperlinks/#post-6537317)
 * Careful bumping is not permitted and moderators will nuke your question. You 
   will receive a better community response by providing more details such as the
   JavaScript/PHP you are using.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How do I make JavaScript hyperlinks?’ is closed to new replies.

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Bybe](https://wordpress.org/support/users/bybe/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/how-do-i-make-javascript-hyperlinks/#post-6537317)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
