In article <K7********************@twister.nyroc.rr.com>, "George Hester"
<he********@hotmail.com> writes:
What's this?
What is what?
IE has a simple way using an ActiveX object so that I can
load a text file into the <OPTION>s like a database. It is called
Tabular Control.
Only if I have ActiveX scripting enabled (I have it set to prompt and don't
always tell it yes).
But I doubt this is going to work with Netscape.
Nope, an IE ActiveX component won't work in Netscape. What about Opera, OmniWeb
or any of the other non-MS/NS browsers out?
What to do?
About what?
Suggestions:
1) Read the FAQ. Especially section 2.4 100 times or so.
2) Phrase your question well.
3) Include your question in the post.
4) Fix your newsreader.
Solution:
Stop using the IE-only ActiveX Control.
If the data file is being generated, whatever you are generating it with should
be capable of adding some extra data. Instead of generating:
item0Value,item0Text
item1Value,item1Text
item2Value,item2Text
Have it generate:
myArray = new Array();
myArray[0] = ["item0Value","item0Text"];
myArray[1] = ["item1Value","item1Text"];
myArray[2] = ["item2Value","item2Text"];
And then load it as mySelects.js and dynamically populate the select.
"Dynamically Populate Select List" in a c.l.j archive search returns 92 threads
that will show ways to populate it dynamically. Or simply loop through and
document.write them.
--
Randy