Find file
Fetching contributors…
Cannot retrieve contributors at this time
119 lines (118 sloc) 5.38 KB
<meta name="generator" content="HTML Tidy, see">
<meta http-equiv="Content-Type" content= "text/html; charset=iso-8859-1">
<link href="css/global.css" type="text/css" rel="stylesheet" />
<title>Config example</title>
<script type="text/javascript" src= "js/EventHelpers.js">
<script type="text/javascript" src="js/config.js">
<script type="text/javascript" src="js/exampleConfigForm.js">
<div id="content">
<h1>Config Example</h1>
<div id="message">
This page shows how the config.js library works.
You can take a <a href="/viewSource.cgi/tests/config/js/exampleConfigForm.js">look at
the source of the script</a>
as well as <a href="#" onclick="alert(document.getElementById('config').innerHTML); return false;">look
at the configuration
to get an idea how it works.
<form id="myApp-form">
Charge Information
<table class="formTable">
Your charge :
$<span id="amount">50.00</span>
Credit Card :
<select id="ccType">
<option value="">--- Chose a card ---</option>
<option value="Canadiana Card ">Canadiana Card</option>
<option value="Mistress Card">Mistress Card</option>
<option value="Passport">Passport</option>
<select id="month">
<option value="">--- Choose a month ---</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
<div class="buttonRow">
<input type="submit" value="Submit">
<div id="config">
Submitting this order will charge $@amount@ to your
@creditCardType@ and will be received on your @month@
credit card bill. Are you sure you want to do this?
<div class="warning">
At the end of this year, we will <strong>not</strong> be supporting Internet
Explorer 6 or lower. Please
<a href="">upgrade your
installation of Internet Explorer</a>, or install the latest version of one
<a href="">the many
alternative browsers available</a>.
<completeForm>You must enter in a credit card type and a month to continue</completeForm>