pastebin - collaborative debugging tool RSS

Simple alert in Javascript
Posted by Anonymous on Tue 21st Jun 2011 17:58
raw | new post

  1. function myFunc ()
  2. {
  3.   alert("This is a small example of a Javascript snippet.")
  4. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}

All content is user-submitted.
The administrators of this site ( are not responsible for their content.
Abuse reports should be emailed to us at