-
Senior Mender
Can someone tell me where i can find a simple exemple of a "insertBefore" ....
i'm trying to unserstand how to insert a cloneNode to a list and don't understand how to declare the beforeNode i want to insert the node i create.
Is the beforeNode have to be declare as list.firstChild.firstChild.nextSibling
or do i have to set a variables first and then use that variable to declare the beforeNode... I have try everything and it's not working...
Help me please...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|