Hi Mathias. When I inspect the hyphenated div in jQuery, it does not
contain the hyphenated version. In my document.ready function I call
Hyphenator and (and it works in the browser), then immediately write
the div to the console log in Safari, but there is no recorded
hyphenation data, just the original div content. It is as though
Hyphenator was never called first. Does Hyphenator rewrite the DOM at
some specific point in "time" so I need to sequence my jQuery call at
some other point in time?
Thanks
On Jun 8, 12:04 pm, Mathias Nater <
mathiasna...@gmail.com> wrote:
> Hi
>
> Thanks for your mail.
>
> In it's simplest usecase Hyphenator.js replaces the text of hyphenated elements. Thus you can retrieve the hyphenated text from any hyphenated element after Hyphenator.js has run.
>
> You may also hyphenate any string by using the public method described here:
http://code.google.com/p/hyphenator/wiki/en_PublicAPI#mixed_Hyphenato...)