I think jQuery should be able to handle that.
What about (untested):
TagBrush >> appendChild: anElement
<jQuery(self['@element']).append(anElement)>
Cheers,
Nico
>
>
> To make this work, I've changed:
>
>
> TagBrush>>appendChild: anElement
> "In IE7 and IE8 appendChild fails on several node types. So we
> need to check"
> < var element=self['@element'];
> if (null == element.canHaveChildren || element.canHaveChildren)
> {
> element.appendChild(anElement);
> } else {
> element.text = anElement.innerHTML;
> } >
>
>
>
>
>
>
> Looks ugly and hacky. Is there a way to handle cross-browser
> compatibility better ?
>
>
> Laurent
--
Nicolas Petton
http://www.nicolas-petton.fr
On Wed, 2011-08-31 at 12:10 +0200, laurent laffont wrote:I think jQuery should be able to handle that.
> raaaahhhh IE testing
>
>
>
>
> In IE7 & 8 it's not possible to call appendChild on SCRIPT node.
What about (untested):
TagBrush >> appendChild: anElement
<jQuery(self['@element']).append(anElement)>
Nico
then maybe we could change #appendString:
Last time I checked, Jtalk (the language) worked on IE7, but the IDE
behaved strangely.
I'll have to run some tests again this week as we're planning to do a
release :)
Cheers,
Nico
I just have to ask - is your name actually Amber? I get confused every
time. ;)
regards, G�ran