All pastes #402182 Raw Edit

Help!

public html v1 · immutable
·published 2007-03-19 19:30 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Working With Arrays</title></head><body><basefont face="MS Sans Serif"><h3>Below is a list of the core courses offered in the Multimedia Program</h3><script language="Javascript">var listClasses = new Array()listClasses[0]="JMA501"listClasses[1]="JMA503"listClasses[2]="JMA505"listClasses[3]="JMA510"listClasses[4]="JMA530"document.write("<b>There are " + listClasses.length + " core courses in the curriculum.</b><br>")for(i=0; i<listClasses.length; i++){	document.write(listClasses[i] + "<br>")}document.write("<hr noshade size='2'>")var dow = new Array()var ccode = new Array(4)var ref = new Array(2)ref[0] = "MM501"ref[1] = "Introduction to Multimedia"ccode[0] = refdow[4] = "Thursday"ref=new Array()ref[0] = "MM503"ref[1] = "Instructional Design"ccode[1] = refdow [4]= "Wed"ref=new Array()ref[0] = "MM505"ref[1] = "Graphic Design"ccode[2] = refdow[4] = "Tuesday"ref=new Array()ref[0] = "MM510"ref[1] = "Multimedia Production"ccode[3] = refdow[4] = "Monday"</script><form><table>	<tr>		<td colspan=2>You can click on a course code below to see its title.</td>	</tr>	<tr>		<td valign=top>Click on a course code.</td>		<td>		<select name="coursecode" size="4" onClick="document.forms[0].returninfo.value=ccode[document.forms[0].coursecode.selectedIndex][1];[document.forms[0].dayofweek.value=dow]">		<option>MM501		<option>MM503		<option>MM505		<option>MM510		</select></td>	</tr>	<tr>		<td>&nbsp;</td>		<td><input type="text" name="returninfo" size="30"></td>		<td><input type="text" name="dayofweek" size="30"></td>	</tr></table></form></body></html>