Search without reloading the page [duplicate]

1

I need to perform a Facebook search, that is to say, by typing the name X in an input that is filtered from a database query without reloading the page How should I do it I'm working with java and postgresql database

    
asked by Leo T 13.10.2016 в 05:08
source

1 answer

0

You could use a method that for each time you change the text content make a call to Service , it would be a good idea to use a half-second delay to avoid too many calls. If you are using JSF it would be with valueChangeListener

    
answered by 13.10.2016 в 05:34