<element id="demo" observes="oldid" />
Ive attempted to switch the broadcaster by changing the observes attribute.
document.getElement('demo').setAttribute('observes','newid')
Even though the attribute is updated (using getAttribute to check it),
the observe appears to still associated with the "oldid"
Is there something I need to force some kind of (DOM) refresh
>Given
>
> <element id="demo" observes="oldid" />
>
>I've attempted to switch the broadcaster by changing the observes attribute.
>
> document.getElement('demo').setAttribute('observes','newid')
>
>Even though the attribute is updated (using getAttribute to check it), the observe appears to still associated with the "oldid"
>
>Is there something I need to force some kind of (DOM) refresh
>
>
Try removing the observes attribute, then setting the new one.
--
Warning: May contain traces of nuts.