0

How to implement live search using html and json

i want to implement this problem statement - Create a tracking page which shows the status of any order by giving the order id in a search box. The order id will be a searchable field as in when the user starts typing the order id he sees suggestions based on the text entered and his last orders which have that text.

26th Feb 2017, 6:54 AM
Vishal Sanap
Vishal Sanap - avatar
1 Réponse
+ 3
<input type="text" oninput="myFunc(this);"> And write a function wich will be called each time the value of input change ( this can be another 'type' of input )... function myFunc(o) { alert(o.value); }
26th Feb 2017, 11:57 AM
visph
visph - avatar