Hello all!
Im new to the forum, my first post in fact, I hope someone can help me. I have no idea how to do this but im pretty sure it's done in javascript.
I want to create a javascript file that to store the contents of a drop down list in. Such as this in html:
In the place where the drop down list should be on the web page, I want to add a javascript include to display the drop down list from the javascript file in the web page, such as:
I hope this makes sense and someone can help me!! I have no clue where to begin and thought some expert javascript coder would have an idea abou this.
Best regards,
NPC
Im new to the forum, my first post in fact, I hope someone can help me. I have no idea how to do this but im pretty sure it's done in javascript.
I want to create a javascript file that to store the contents of a drop down list in. Such as this in html:
Code:
<select name="data" id="data"> <option value="data value for item 1">Item 1 </option> <option value="data value for item 2">Item 2 </option> </select>
Code:
<script type="text/javascript" src="http://www.mydomain.com/data.js"></script>
I hope this makes sense and someone can help me!! I have no clue where to begin and thought some expert javascript coder would have an idea abou this.
Best regards,
NPC
Comment