Fill out form with customer ID

0

I have a form with customer ID, customer name, address and email. Since the ID is unique, it wanted to be filled in with the input of the ID, to do a search in the database and complete the rest of the form with the missing input's. The problem is that I do not want with any button, I wanted even after filling in "it" is searched without updating the page or any of that.

    
asked by anonymous 25.06.2015 / 12:08

1 answer

0
inp.addEventListener("id", function () { 
   //chamada da função que vai preencher os campos
}, false);
    
25.06.2015 / 12:12