I know that stackoverflow is not to do my job, for that I ask for generics advices
- my autocomplet will be in a input, from what I know, input has "get" and "post"
request. I need to make a post request, and here is my problem.
My autocomplete read information from a endpoint JSON, that is generated when you make a request from server, e.g.
http://www.imobiliare.ro/sugestii/huned, I need a javascript function, that is continuous read and send information from input text to URL.
E.g
I have :"http://www.imobiliare.ro/sugestii/huned"+ T , T value from input, Information is pass to URL and generate a JSON, after that http://www.imobiliare.ro/sugestii/huned+T+I, TI values from input.
Hard part for me is how to send continuous that information to url without press a submit button, something like every time I pass a value in input text, is read and send automaticali to URL and make a request
I can't use any existing lib.