[Javascript] copying dynamic object
suresh kumar
asureshkumar_1983 at yahoo.co.in
Sat Aug 5 05:04:21 CDT 2006
Hi,
Can any one go through my code and solve my problem.i tried for past 6 hours .i can't able to solve this problem.I want to copy r assign one dynamic object property to another.I dont wat appendChild(),functionality to do this task.
this is my code.tnxs for response
<script type="text/javascript">
oDis=document.getElementById('iedisplayarea');
if (oDis.children(1)=== null) {
var picObj = document.createElement('EMBED');
picObj.setAttribute('id',"aShow");
picObj.setAttribute('width',frameData[0].UX[jj]);
picObj.setAttribute('height' ,frameData[0].UY[jj]);
picObj.setAttribute('src',"mirror.mpg");
//oDis.appendChild(this.picObj); /*i dont want this method*/
/*i tried this 2 methods but its not working*/
oDis=picObj;
oDis=picObj.cloneNode(true);
}
</script>
<body>
<div id="iedisplayarea" style="position:relative;visibility:visible;z-index:2;top:0; left:0; overflow:hidden;width:100%;height:100%;" >
</body>
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060805/c29917dd/attachment.htm>
More information about the Javascript
mailing list