javascript - how to use uppercase method with do not allowed turkish character? -


i have following code:

<input type="text" style="text-transform: uppercase" /> 

the string gets transformed uppercase, ü example, transform Ü.
want ü transform u, e.g. gülay should become gulay.
have idea how can this?

if data comming database, suggest treat on server before send view. can use javascript if don't want happen on server.

check out answer: remove accents/diacritics in string in javascript

you use like:

var finalstring = removediacritics(initialstring).touppercase(); 

Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

android - Adapter not working with listview -

javascript - PhoneGap show downloaded image in iframe -