Plug-in JavaScript Chapter 12, Example 90 (Click on the icon to view the source for copy and pasting)
» Run this code now (Right click and select Back to return from the example)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html><head><title>Plug-in JavaScript: Example 90</title>

<script src="PJ.js"></script>


<h2>Signup Form</h2>
Name:  <input id='name'  type='text' size='50'/>
Email: <input id='email' type='text' size='50'/>


window.onload = function()
   FieldPrompt('name', "Please enter your name",
      '#000000', '#444444', 'italic')
   FieldPrompt('email', "Please enter your email address",
      '#000000', '#444444', 'italic')