I've got HTML elements created in JavaScript and have appended them to parent node. How do I add some text in between them in the parent node?
I need to do something like this....
Expand|Select|Wrap|Line Numbers
- parent.appendChild(child1);
- //add the text " | " in between...
- parent.appendChild(child2);
How do I add this text?
Thanks,
Jon