windhawk91
Contributor
Hello,
I want to populate a drop down list in HTML from a text file based on my computer.
In the below code, 'item1' and 'item2' should be stored in a .txt file.
Please can anyone help me with the same.
Thank You.
<html>
<head>
<title>PhoneGap</title>
<script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
</head>
<body>
<h1>Hello PhoneGap</h1>
<select name="colors">
<option selected value="base">Please Select</option>
<option value="">item1</option>
<option value="">item2</option>
</body>
</html>
I want to populate a drop down list in HTML from a text file based on my computer.
In the below code, 'item1' and 'item2' should be stored in a .txt file.
Please can anyone help me with the same.
Thank You.
<html>
<head>
<title>PhoneGap</title>
<script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
</head>
<body>
<h1>Hello PhoneGap</h1>
<select name="colors">
<option selected value="base">Please Select</option>
<option value="">item1</option>
<option value="">item2</option>
</body>
</html>