I'm quite new to the HTML5 datalists and I noticed that the value section is displayed in-conjunction to the text within the tag. but I didnt want the value inside the 'id' attribute to be displayed so I placed it into the 'id' tag instead as another storage method. As so:
<td>
<input list="to" id="to-selected" style="width: 145px;">
<datalist id="to">
<option value="4000 Islands, Laos" id="4483"></option>
</datalist>
</td>
If this is possible, how would I retrieve the value of the id attribute? (I know how to post it if I get the value)