preetisingh 0 Newbie Poster

hi to all....... i have made a text box on my web page.....i want that when a user enters the name of the place in that box then the words that sounds same should be displayed at that time........like if i want to enter haridwar then as it is same as hardwar then both these should be displayed...same as it happens in google searching.........how can i do it?????