form and script not working together

by "Lady Wistfulee" <wistfulee(at)millenicom.com>

 Date:  Fri, 22 Sep 2000 13:01:12 -0400
 To:  <hwg-languages(at)mail.hwg.org>
  todo: View Thread, Original
Hi,

I have a form on my pages that I am using...I use it on quite a few of my
pages:

<form name="aForm" action="#" onSubmit="return false;" ><select
name="hintSel" onchange="showHint(this.selectedIndex)" class="tsitc"  >

I am "populating" the "hint" with an external script (also identical on
every page I use it on, except for the substance of the "hints"):

<!--
var hints = new Array();

<!--here is where the list of "hints" are

function showHint (n) {
  var h = hints[n];
  if (document.layers) {
    document.hint.document.open();
    document.hint.document.write(h);
    document.hint.document.close();
  }
  else
    document.all.hint.innerHTML = h;
}

This is working on every page but one...I keep getting an object expected
error on that page, (line 134 char 1)
URL (working): http://everythingemail.tripod.com/emailclients.html
URL (not working): http://everythingemail.tripod.com/antispam.html

I don't understand how I can use exactly the same script, with exactly the
same form, & one out of many other pages isn't working.

Please help?

Many thanks in advance

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA