Latest Posts »
Latest Comments »
Popular Posts »

Simple Javascript Hello World

Written by techieDan on June 5, 2008 – 12:30 pm

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 :)


Tags:
Posted in javascript |

One Comment to “Simple Javascript Hello World”

  1. Button Javascript in Wordpress | TechieDan Says:

    [...] » Button Javascript in Wordpress » Firefox 3 World Record » 50 Rupiah » Simple Javascript Hello World » Card Reader For All » I have a metal hanging rack - don’t like…» Good shot. [...]

Leave a Comment