On Apr 20, 10:41 am, Alex Wallace <[email protected]> wrote:
> The non-HTML element can be tricked into appearing to be an actual HTML
> element if you use:
>
> document.create("fakeElementTagName"); somewhere on the page. Once that's
> done, IE will treat <fakeElementTagName>foo-bar</fakeElementTagName> as an
> actual DOM element, and you should be able to remove it using regular DOM
> helpers. (e.g. parentNode.removeChild, or Prototype's .remove();)

Thanks Alex, so you're saying that with this toward the beginning of
the <form ...>:

    <AsyncException>Error occured during AsyncInvocation.</
AsyncException>

which appears in the IE DOM as

    ASYNCEXCEPTION
    #text  ("Error occured during AsyncInvocation.")
    /ASYNCEXCEPTION

(where those are *three nodes* (!) and not *one element*), and which
shows this at the top of the page:

    Error occured during AsyncInvocation.

that if I do

    document.createElement("ASYNCEXCEPTION");

it will somehow overwrite those three nodes???

Thanks,

Jelks

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to