Simple Javascript Hello World

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 🙂

No Responses

Leave a Reply