<div>Hi,</div> <div> sorry for repeatively asking my doubt.bcz i am can't able to solve this problem .</div> <div>suppose i am already having a parent node and the child node.i want to append a another child node below the already available child node.</div> <div> </div> <div>this is the already available tree </div> <div> </div> <div> <div id='iedisplayarea'> //parent node </div> <div> |</div> <div> |</div> <div> <img
id='ashow'> //child node of iedisplay area</div> <div> </div> <div>i want to change the tree as </div> <div> </div> <div> <div id='iedisplayarea'> //parent node </div> <div> |</div> <div> |</div> <div> <img id='ashow'> //child node of iedisplay area</div> <div> |</div>
<div> |</div> <div> <img id='ashow1'> //child node of ashow</div> <div> </div> <div>i used this are the functions.</div> <div> var x=document.getElementById('ashow');</div> <div> var y=document.createElement('IMG');</div> <div> y.setAttribute('id','ashow1');</div> <div> </div> <div> this.y=x.appendChild(y); //giving an error msg as -"unexpected call to method or property access"</div>
<div> A.suresh</div><p> 
        
        
                <hr size=1></hr>
Here's a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a> <BR>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>