[Prototype-core] Re: 1.5.1.1 replace and textareas
> I am using Prototype v1.6 RC0 Prototype v1.,6 Rc0 works great. Thank you jdalton. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: 1.5.1.1 replace and textareas
Hey noc, I cannot reproduce what you are seeing in my firefox v2.0.0.1 I am using Prototype v1.6 RC0 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: 1.5.1.1 replace and textareas
That's beside the point because the b-tag gets lost. On 19 Sep., 10:53, "Jussi Salminen" <[EMAIL PROTECTED]> wrote: > Hi, > > have you tried: > > function transformTinyMCE(div) { > var html = "no!".unescapeHTML(); > Element.replace(div,html); > > } > > More:http://prototypejs.org/api/string/unescapeHTML > > 2007/9/19, noc <[EMAIL PROTECTED]>: > > > > > > > Hi, > > > iv found an bug replacing textarea-tag-elements. > > Have a look at this: > > > > > > > > > > > > > > > function transformTinyMCE(div) { Element.replace(div,"no! > > b>"); } > > > > jipii > > > > > > > The resulting htmlcode will be: > > ...no!... > > buggy in SeaMonkey 1.1.4 and Firefox 2.0.0.5. > > NOTICE: Bug does not occour in Internet Explorer 6! > > -- > ** > Jussi Salminen > [EMAIL PROTECTED] > +358 45 630 1723 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---
[Prototype-core] Re: 1.5.1.1 replace and textareas
Hi, have you tried: function transformTinyMCE(div) { var html = "no!".unescapeHTML(); Element.replace(div,html); } More: http://prototypejs.org/api/string/unescapeHTML 2007/9/19, noc <[EMAIL PROTECTED]>: > > Hi, > > iv found an bug replacing textarea-tag-elements. > Have a look at this: > > > > > > > > function transformTinyMCE(div) { Element.replace(div,"no! > b>"); } > > jipii > > > > The resulting htmlcode will be: > ...no!... > buggy in SeaMonkey 1.1.4 and Firefox 2.0.0.5. > NOTICE: Bug does not occour in Internet Explorer 6! > > > > > -- ** Jussi Salminen [EMAIL PROTECTED] +358 45 630 1723 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~--~~~~--~~--~--~---