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...

hide value (1,2,3) enter image description here.

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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -