Not sure I'll use the correct terminology as I know little of JavaScript, XML and HTML so...
I have an html page that contains a list of selectable options.....
<select name="doclist" onChange="window.open(this.value,'docwindow');">
<option value="" selected="selected"></option>
<option value="docs\doc1.pdf" >Document One</option>
<option value="docs\doc2.doc" >Document Two</option>
<option value="docs\doc3.xls" >Document Three</option>
</select>
This list will change over time so I thought it would be good to have it in a separate file that would get embeded in the html page. I don't want to extract the list from a DB.
I'm sure it's simple but I'm at a loss. I've looked for examples but its become apparent that I don't know what terms to google on.
How would you recommend I go about this?
I have an html page that contains a list of selectable options.....
<select name="doclist" onChange="window.open(this.value,'docwindow');">
<option value="" selected="selected"></option>
<option value="docs\doc1.pdf" >Document One</option>
<option value="docs\doc2.doc" >Document Two</option>
<option value="docs\doc3.xls" >Document Three</option>
</select>
This list will change over time so I thought it would be good to have it in a separate file that would get embeded in the html page. I don't want to extract the list from a DB.
I'm sure it's simple but I'm at a loss. I've looked for examples but its become apparent that I don't know what terms to google on.
How would you recommend I go about this?