Home » Tutorial

Button Javascript in WordPress

Written By: techieDan on June 14, 2008 No Comment

Previously I wrote about how to write a simple javascript button for normal webpages. But it looks like it’s utterly different for creating a button in WordPress. Well, basically there’s a way to write it. With that too, you can actually have a lot of other things like a statistics counter to count how many times a user has clicked. Well, depends on how well you know though.

How did I create this button on WordPress? SIMPLE!!

<button onclick="javascript:alert('Hello!\nWelcome to TechieDan.com')">
CLICK ME</button>

Straightforward, so have some fun with Javascript Buttons on WordPress.

Related Posts with Thumbnails

Tags: , ,

Digg this!Add to del.icio.us!Stumble this!Add to Techorati!Share on Facebook!Seed Newsvine!Reddit!Add to Yahoo!

Leave a Reply:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  Copyright © 2009 TechieDan, All rights reserved.| Powered by WordPress