cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Cancelling the DOMNodeRemoved event....

songmyos
1-Newbie

Cancelling the DOMNodeRemoved event....

Adepters,

I'd like to prevent a user from deleting an element (without specifying
it in the DTD) and therefore have captured this event with the
DOMNodeRemoved event. According to Arbortext's documentation this event
is not "Cancelable". I'm wondering if anyone here has found a workaround
for this?

-Gerald.
1 REPLY 1

Gerald,
If you don't mind using ACL, you can use the delete_tag callback. Check
under help 148 for details.
--
Brian Jensen

Kyoshinsha Co. Ltd.
brian@kik.co.jp
2-9-5 Morinomiya-chuo Chuo-ku
Osaka 540-0003 Japan
Tel: 81-6-6941-8881
Fax: 81-6-6941-1053


Song, Myong S. (Gerald) wrote:
> Adepters,
>
> I'd like to prevent a user from deleting an element (without specifying
> it in the DTD) and therefore have captured this event with the
> DOMNodeRemoved event. According to Arbortext's documentation this event
> is not "Cancelable". I'm wondering if anyone here has found a workaround
> for this?
>
> -Gerald.
>
Announcements