updateSearchInput function

Change the value of a search input on the client