Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to insert a node using DOM insertBefore ?

843834May 29 2006
Hello,

Please help me to insert an element using DOM.
I tried using insertBefore(). But it says
"HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted"

How do i fix it ?

Thanks in advance,
Saneesh Joseph
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2006
Added on May 29 2006
0 comments
168 views