javascript - HTML5 datalist only option value hidden -
this question has answer here:
i want hide datalist
value. using code
<input list="options" oninput="console.log(this.value);" /> <datalist id="options"> <option value="1">product 1</option> <option value="2">product 2</option> <option value="3">product 3</option> </datalist>
i mean in inputbox showing values
, product 1
need show product 1,2,&3...
note: here passing value 1,2,3
want hide only
here code https://jsfiddle.net/69u5leoa/
value="<%# databinder.eval(container, "itemindex") %>" can solution problem
Comments
Post a Comment