HTML: How to have 2 values in 1 option
I have and html code like:


        <form><select name="infantry">
    <option value="0"> not yet built </option>
    <option value="600"> Level 1 </option>
    <option value="800"> Level 2 </option>
    <option value="1100"> Level 3 </option>
    <option value="1600"> Level 4 </option>
    <option value="2300"> Level 5 </option>
    <option value="3200"> Level 6 </option>
    <option value="4500"> Level 7 </option>
    <option value="6300"> Level 8 </option>
    <option value="8900"> Level 9 </option>
    <option value="12500"> Level 10 </option>
    </select>
    <br />
    <input NAME="calc" VALUE="Calculate Points" TYPE="BUTTON"
    onClick="temp(this.form)"></input><input type="button" value="Reset Settings" onClick="window.location.reload()"></input><br />
    <b>Total Points</b><input NAME="DegC" readonly="readonly" SIZE="20"></input><br /></form>

and a javascript to count them:

            function temp(form)
    {
    var infan = parseFloat(form.infantry.value, 10);
    var all = infan;
    form.DegC.value = all;
    }

but I want to add more value to the options and make another javascript to count them.
HTML: How to have 2 values in 1 option
===

I have and html code like:


        <form><select name="infantry">
    <option value="0"> not yet built </option>
    <option value="600"> Level 1 </option>
    <option value="800"> Level 2 </option>
    <option value="1100"> Level 3 </option>
    <option value="1600"> Level 4 </option>
    <option value="2300"> Level 5 </option>
    <option value="3200"> Level 6 </option>
    <option value="4500"> Level 7 </option>
    <option value="6300"> Level 8 </option>
    <option value="8900"> Level 9 </option>
    <option value="12500"> Level 10 </option>
    </select>
    <br />
    <input NAME="calc" VALUE="Calculate Points" TYPE="BUTTON"
    onClick="temp(this.form)"></input><input type="button" value="Reset Settings" onClick="window.location.reload()"></input><br />
    <b>Total Points</b><input NAME="DegC" readonly="readonly" SIZE="20"></input><br /></form>

and a javascript to count them:

            function temp(form)
    {
    var infan = parseFloat(form.infantry.value, 10);
    var all = infan;
    form.DegC.value = all;
    }

but I want to add more value to the options and make another javascript to count them.