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
Post a Comment