logo

NJP

Internet Explorer 11 and HTML with soft hyphen in UI Page

Import · Jul 30, 2018 · article

This took me a bit too long to find, so I'll post it as a Lessons Learned.We had an issue where users were unable to press buttons (onclick="function()") in a UI Page in IE11. Going through the console in IE gave the information that function was undefined.The page in question fetches the contents from an HTML field and presents this above the buttons.Turns out soft hyphen in text is not particularily liked by IE 11. So, here's a heads up in case it happens to someone else. If you look through the code in an HTML field and find ­ there's your problem.Regards

Anton

View original source

https://www.servicenow.com/community/developer-articles/internet-explorer-11-and-html-with-soft-hyphen-in-ui-page/ta-p/2329807