<html>
<head>
</head>
<script type="text/javascript">
// Storing the list display value
var listArray;
/**
* Store the input value to listArray
* with identified by name.
*/
function setListArray(sName, sValue){
alert(sValue);
// listArray is null
if (listArray == null){
// Initialize the listArray
listArray = new Array();
// Store the first group
listArray[0] = new Array(sName, sValue);
}
// listArray is not null
else{
// declare flag
var valueFound = false;
for (var i = 0; i < listArray.length; i ++){
// find in the old array
if (listArray[i][0] == sName){
// store the value
listArray[i][listArray[i].length] = s
<head>
</head>
<script type="text/javascript">
// Storing the list display value
var listArray;
/**
* Store the input value to listArray
* with identified by name.
*/
function setListArray(sName, sValue){
alert(sValue);
// listArray is null
if (listArray == null){
// Initialize the listArray
listArray = new Array();
// Store the first group
listArray[0] = new Array(sName, sValue);
}
// listArray is not null
else{
// declare flag
var valueFound = false;
for (var i = 0; i < listArray.length; i ++){
// find in the old array
if (listArray[i][0] == sName){
// store the value
listArray[i][listArray[i].length] = s