Home » Tutorial

Simple Javascript Hello World

Written By: techieDan on June 5, 2008 No Comment

Here’s a simple script that every new javascript scripters should know. Well, play with buttons and poof…. javascript. Well, although writing it in WordPress is a whole lot different from normal javascripting.

Impressive? Well, in normal html codes it would be

<input type='button' value='Hello World'
onClick='javascript:alert('Hello!\nWelcome to TechieDan.com')'>

Cool right :)

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!

Trackbacks/Pingbacks

  1. Button Javascript in Wordpress | TechieDan

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