Hiya Guys,
Can anyone see where i'm going wrong with the array?
It works on its own, but when I add it to this page - it just gives up.
Many Thanks, Pete
<html>
<head>
<meta http-equiv="Content-Langua
ge" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.
Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Senior Hunt Group</title>
<SCRIPT type="text/javascript">
csa = new Array
csa [0] = new Array
csa [1] = new Array
csa [2] = new Array
csa [3] = new Array
csa [4] = new Array
csa [5] = new Array
csa [6] = new Array
csa [7] = new Array
csa [8] = new Array
csa [9] = new Array
csa [10] = new Array
csa [11] = new Array
csa [12] = new Array
csa [13] = new Array
csa [14] = new Array
csa [15] = new Array
//Empty
csa [0][0.0] = " "
csa [0][0.1] = " "
<company-related information removed>
function FillList(num)
{
document.formname.csa.opti
ons.length
=0;
document.formname.csa.sele
ctedIndex = 0
self.status = num + "|" + csa[num].length;
for(var prop in csa[num]){
document.formname.csa.opti
ons[docume
nt.formnam
e.csa.opti
ons.length
] = new Option(csa[num] [prop], csa[num][prop]);
}
document.formname.csa.focu
s() ;
}
</SCRIPT>
</HEAD>
<body>
<p align="center">
<img border="0" src="../../My%20Documents/
<site address removed>/Saves/dummy.jpg" width="408" height="68"><br>
<font face="Trebuchet MS">Senior Hunt Group</font></p>
<p align="center"> </p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="C:\Documents and Settings\<real name removed>\My Documents\<site name removed>\_private\form_res
ults.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p align="center"><font face="Trebuchet MS">Senior</font><br>
<select size="1" name="Senior">
<company-related information removed>
</select></p>
<p align="center"><font face="Trebuchet MS">CSA's Team Leader<br>
<FORM action="" method=post id=form1 name=formname>
<p align="center">
<SELECT id=select1 name=team onChange="JavaScript:FillL
ist(this.s
electedInd
ex)">
<OPTION value=""></OPTION>
<company-related information removed>
</SELECT>
<br>
<SELECT id=select2 name=csa>
<OPTION></OPTION>
</SELECT>
</font></p>
<p align="center"><font face="Trebuchet MS">Reason For Contact<br>
<select size="1" name="Reason">
<option value="Compliance">Complia
nce</optio
n>
<option value="KYC">KYC</option>
<option value="VD">View Documents</option>
<option value="SI">System Issue</option>
<option value="Promotion">Promotio
n</option>
<option value="POA">POA</option>
<option value="Deceased">Deceased<
/option>
<option value="DDI">DDI</option>
<option value="CanxPayment">Cancel
Payment</option>
<option value="Complaint">Complain
t</option>
</select></font></p>
<p align="center"><font face="Trebuchet MS">Did This Call Result In An
Escalation?<br>
<input type="radio" value="Y" name="Escalation">Yes 
; &nb
sp;
<input type="radio" name="Escalation" value="N" checked>No</font></p>
<p align="center"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<p align="center"> </p>
</body>
</html>