Jump to content

convert input text field special characters using javascript


carlfaulkner
 Share

Recommended Posts

basically i have an input field called cities. They are french cities and the input field uses autocomplete. Some cities have the special characters like accents. These cities display the accents correclty when autocomplete generates a city but when you user selects one the city displays the html ascii code in the input field. Is there a way i can have onchange event that takes the value of the input field and converts the special characters and updates the input field with the new value/string.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...