How can I fill a SELECT element from a configuration file.
itKiwi
5:50 pm on Aug 27, 2006 (gmt 0)
Is it possible to load all the options for a SELECT element, from a configuration file? I would like the administrator to be able to add or edit options, without having to edit the HTML. Thanks
JAB Creations
6:44 am on Aug 28, 2006 (gmt 0)
Selecting multiple options with a select element...
<select multiple="multiple"></select>
- John
[edited by: JAB_Creations at 6:44 am (utc) on Aug. 28, 2006]
penders
8:55 am on Aug 28, 2006 (gmt 0)
You'll need to have a server-side script (PHP, ASP...) that reads your config file and generates the HTML to be returned to the client.
garann
9:45 pm on Aug 29, 2006 (gmt 0)
If you can teach your administrator just the HTML for the options themselves, you could have the list of options in an include and, if your server allows SSI, you wouldn't need a scripting language...