Tag Archives: Javascript

Unicode Numbers In Javascript

Handling Non-ASCII Numerals In Javascript — The Way It Should Have Been Handled Source code available at uninums on github. A couple of weeks ago, I ranted about the lack of proper Unicode support in Javascript. Granted, Javascript supports Unicode … Continue reading

Posted in Javascript | Tagged , , | 7 Comments

Javascript & Unicode: The Unconsummated Marriage

Why We Need Better Unicode Support for Javascript, And What Can Be Done About It One of the smartest things ECMA did was requiring Javascript engines to use Unicode strings. This has important implications beyond the simple ability to represent … Continue reading

Posted in Javascript | Tagged , | Leave a comment

Scrolling The Selection Into View

Scrolling Text Nodes And Ranges Into View In A Cross-Browser Manner Scrolling an HTML element into view can easily be achieved using the scrollIntoView() function. But what about text nodes, ranges and selections? var o = document.getElementById(‘foo’); o.scrollIntoView(); The scrollIntoView() … Continue reading

Posted in Javascript | Tagged , | 5 Comments