PDA

View Full Version : triple combo boxes not working


Moniqued
10-11-2002, 01:20 AM
I'm creating an isapi program in Delphi. I tried to add the
triple combo script to my program. When I run it, I get a runtime error.
It states that 'document.isc.example' is not an object.

I'm working on a local internet (microsoft internet explorer).

Am I missing something? Or is this not possible to do?

First time user with Java scripting!

glenngv
10-11-2002, 02:24 AM
yes, you are missing something. you didn't post any code or link. and where did you get that script? it must have instructions on how to run.

Moniqued
10-11-2002, 05:30 PM
Here's the link:
http://www.javascriptkit.com/script/script2/triplecombo.shtml

I just placed this in my program between the <body> tags just to see if it would work. When I run it, it stops at
var groups=document.isc.example.options.length
stating that document.isc.example is not an object.

I haven't changed a thing within the given code.

crustylog
10-11-2002, 05:34 PM
i copied and pasted the code into the body of a basic html page in dreamweaver and it works fine !!

Moniqued
10-11-2002, 05:40 PM
I guess it could be my internet connection or that it's not working well with Delpia.

Thanks anyway.

Moniqued
10-11-2002, 08:10 PM
I'm such an amateur. I figured out the problem.
I had a form within a form so it wasn't detecting which form to use.
I should have known better.
Thanks for the quick replies!