myJavaScriptQuestion

by "Michael" <miklbike(at)neo.rr.com>

 Date:  Wed, 14 Mar 2001 23:10:02 -0500
 To:  "Hwg Techniques (E-mail)" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Would anyone like to take a crack at why this javascript does not work in NS
4.7? The thing is, it works on my local machine, but when I upload it, it
reads the variable "accessoryName" as null. That really throws me - why
would it work locally and not on the net?

The url is http://www.erniesbikeshop.com/products/skateboards.shtml

I have similar code at
http://www.erniesbikeshop.com/ernies_about/bios.shtml
which works fine in both IE and NS. The only difference is I use
selectedIndex to assign a value to the var, instead of assigning the value
directly. When I tried this technique with the above skateboard url it
refered to my external style sheet. Now how does that happen?

If anyone has any ideas I'd really appreciate it. I've been staring at this
snippet for 2 hours and I'm going to bed now. I'll look at it again
tomorrow.

Thanks.

Michael Barath

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael Barath
Stark State College of Technology
6200 Frank Ave NW
Canton, OH  44720-7299
330.966.5461
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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