I would like to have a search box input field that flashes multiple default values when not in focus. As in “New York” for 3 seconds, then “Los Angeles” for 3 seconds, etc. or to simulate typing of these would also be nice.
What i have done is this
but the problem is that the .val() gets overridden every 3 seconds even when it is in focus.
One way That I came up with:
Live DEMO