so why not element.set('html','newtext ' + element.get('html'));

This is the easiest way i can imagine for what your initial need was
(ignoring the fiddle stuff i initially replied to)

On 27 Mai, 10:29, Rolf -nl <[email protected]> wrote:
> I was looking for a way to do it without a wrapper element like a
> span, just the text (eg. inserting a space after a word that is
> wrapped in a span).
>
> On May 26, 1:30 pm, Fli7e <[email protected]> wrote:
>
>
>
>
>
>
>
> > Maybe i am a bit late and a bit off the road but in reply to the above
> > Fiddle (http://jsfiddle.net/YAJR6/1/) why do not go the "Moo" Way?
>
> > Edit:http://jsfiddle.net/YAJR6/4/
>
> > Just my rusty 2 cent ...

Reply via email to