Javascript IS enabled but....

Results 1 to 2 of 2

Thread: Javascript IS enabled but....

  1. #1
    Join Date
    Dec 1969

    Default Javascript IS enabled but....

    this function wont work and I can&#039;t seem to understand why, it works in IE.<BR><BR>&#060;script type="text/javascript" language="JavaScript"&#062;<BR><BR> <BR>function doOp(alist)<BR>{<BR> var Op = &#039;&#039;;<BR> var ndx;<BR> ndx = alist.selectedIndex;<BR> Op =alist.options[ndx].text;<BR> <BR> if (Op == "sum")<BR> {<BR> alist.form.value.options[0].text = "Enr";<BR> alist.form.value.options[1].text = "FTE";<BR> alist.form.value.options[2].text = "Sections";<BR> } <BR> <BR> else if (Op == "Count")<BR> {<BR> alist.form.value.options[0].text = "Dept";<BR> alist.form.value.options[1].text = "Center";<BR> alist.form.value.options[2].text = "Load";<BR> alist.form.value.options[3].text = "Division";<BR> alist.form.value.options[4].text = "Center";<BR> alist.form.value.options[5].test = "Term";<BR> }<BR> else<BR> {<BR> alist.form.value.options[0].text = "Enr";<BR> alist.form.value.options[1].text = "FTE";<BR> alist.form.value.options[2].text = "Sections";<BR> }<BR>}<BR><BR><BR>&#060;/script&#062;

  2. #2
    Join Date
    Dec 1969

    Default answered in other forum

    (No nasty crosspost message...he did note in the other forum he was crossposting.)<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts