Click to See Complete Forum and Search --> : Array question
BrainDonor
05-30-2003, 02:25 PM
Since this is more of a java script question, I've moved it ehre from the HTML forum.
Is there a way to load the arrays in Khalid's example at http://68.145.35.86/skills/javascripts/DropdownListDisplayRadioSelection.html from a .txt file? If so, please share.
Thanks again for all your help everyone!!
Tom
With Javascript, the only way to interact with the FSO (FileSystemObject) object is to use ActiveX, and this would only work on the local machine. Instead, you should use a server-side language.
Jona
khalidali63
05-30-2003, 02:34 PM
Yep, exactly that,You do have another option of using JavaApplet and that can work cross browser,however for that you have to have signed applet to work on all machines,the better solution is to use server side language,there are tones of 'em out there,
JSP,ASP,PHP.....so many of them
AdamGundry
05-30-2003, 02:42 PM
You could simply put the code that generates the arrays in a seperate JS file, and then include it using
<script type="text/javascript" src="filename.js"></script>
That might give more or less what you want, depending on exactly how the data needs to be stored. Of course, you can't save the data to the file.
Adam