I'm new here

Umlaut characters not working in Firefox

Dear Team,

I have created a page where clicking on a letter will filter out the corrsponding div for that letter from the list of divs in the page. PFB the code sample:

<a href="#register-6749750-Ä">Ä</a>

<table id="register-6749750-Ä" class="searchResults-6749750 aztable ui-tabs-panel ui-widget-content ui-corner-bottom">

So if I click on the German Umlaut Ä it should filter the table with ID - register-6749750-Ä. But it is not working in Firefox (Works well with I.E)

Please check if this is an issue in FirstSpirit.



0 Kudos
1 Reply
I'm new here

Dear Udhay,

is the page generated corretly? Then that is probably not a FirstSpirit issue.

Have a look at https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id:

Using characters except ASCII letters and digits, '_', '-' and '.' may cause compatibility problems, as they weren't allowed in HTML 4.

More infos at W3C:

HTML 4: https://www.w3.org/TR/html4/types.html#type-id

HTML 5: https://www.w3.org/TR/html5/dom.html#the-id-attribute

Did you tried to replace the umlaut characters (e.g. Ä => Ae) for the id- and href-Attribute?



0 Kudos