Home > Forum

Support Forum

Calling javascript on click

Discussions related to the HTML Javascript Adder WordPress plugin.

Calling javascript on click

Postby dvoelker » Fri Apr 06, 2012 10:11 pm

Hello -

I am not sure if your plugin is the right answer for this but I want to have a simple text link in the sidebar of a wordpress page an when that link is clicked I would execute some javascript. Is your plugin the best way to accomplish this and can you show me the syntax to do so?

Something like this:

Click Here <--- clicking this invokes this ---> http://clients.mindbodyonline.com/ws.asp

Dave
dvoelker
 
Posts: 1
Joined: Fri Apr 06, 2012 10:07 pm

Re: Calling javascript on click

Postby vaakash » Sun May 20, 2012 2:34 am

You should use the code
Code: Select all
<a href="http://clients.mindbodyonline.com/ws.asp">Click here</a>
User avatar
vaakash
Site Admin
 
Posts: 672
Joined: Sun Jan 17, 2010 11:15 am
Location: India


 


  • Related topics
    Replies
    Views
    Last post


Return to HTML Javascript Adder

cron


phpBB SEO