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.
1 Resposta
+ 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);
}