By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,259 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,259 IT Pros & Developers. It's quick & easy.

Add a child to a child with Javascript

P: 13
Hi everybody,
Can anyone please help me sending me some code to add a child to a child with JavaScript?
Oct 26 '07 #1
Share this Question
Share on Google+
3 Replies


epots9
Expert 100+
P: 1,351
Here at TSDN we are more than happy to assist you with your errors but we will/do not provide full code for those who do not attempt the problem themselves, please attempt the question and post the section of code that is giving you a problem.

thank you
Oct 26 '07 #2

P: 13
Here at TSDN we are more than happy to assist you with your errors but we will/do not provide full code for those who do not attempt the problem themselves, please attempt the question and post the section of code that is giving you a problem.

thank you
Hi epots9,
I have about 3 or 4 files that I use to create my menu and I don't think that all this is going to fit, so is there a way for me to send you the files?
Oct 26 '07 #3

RMWChaos
100+
P: 137
I have about 3 or 4 files that I use to create my menu and I don't think that all this is going to fit, so is there a way for me to send you the files?
ASProoky,

You don't have to provide all the code. Just show us the relevant pieces where you are attempting to add the child.

I will give you hint, however: In your document, get the parent element (where you want to put the new node) by its id and then append the child as you create the new element. =D

Depending on whether the parent is 'head', 'body', or some 'div' will determine the method you use to grab the parent.
Oct 27 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.